aboutsummaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2016-12-20 07:47:38 +0000
committerJason E. Hale <jhale@FreeBSD.org>2016-12-20 07:47:38 +0000
commit6f4acc8acd036e72e3799cbacad89e30f130e2cd (patch)
tree85ad7219ba05a65abf9794c109ef601e79a7a18a /security/gpgme
parent55807a238d77317320da810b8a4441da093a8bcf (diff)
downloadports-6f4acc8acd036e72e3799cbacad89e30f130e2cd.tar.gz
ports-6f4acc8acd036e72e3799cbacad89e30f130e2cd.zip
Notes
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/files/patch-configure32
1 files changed, 32 insertions, 0 deletions
diff --git a/security/gpgme/files/patch-configure b/security/gpgme/files/patch-configure
new file mode 100644
index 000000000000..586a9df61194
--- /dev/null
+++ b/security/gpgme/files/patch-configure
@@ -0,0 +1,32 @@
+Fix configure for users that have 'WITHOUT_GNU_GREP_COMPAT=yes' set
+m4/qt.m4 fixed upstream in git 211844f.
+
+--- configure.orig 2016-12-20 07:27:31 UTC
++++ configure
+@@ -18746,7 +18746,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking moc version" >&5
+ $as_echo_n "checking moc version... " >&6; }
+ mocversion=`$MOC -v 2>&1`
+- mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
++ mocversiongrep=`echo $mocversion | grep -E "Qt 5|moc 5"`
+ if test x"$mocversiongrep" != x"$mocversion"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+@@ -18844,7 +18844,7 @@ else
+ fi
+
+ mocversion=`$MOC2 -v 2>&1`
+- mocversiongrep=`echo $mocversion | grep "Qt 5\|moc-qt5 5\|moc 5"`
++ mocversiongrep=`echo $mocversion | grep -E "Qt 5|moc-qt5 5|moc 5"`
+ if test x"$mocversiongrep" != x"$mocversion"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}qtchooser", so it can be a program name with args.
+@@ -18940,7 +18940,7 @@ fi
+
+ qt5tooldir=`QT_SELECT=qt5 qtchooser -print-env | grep QTTOOLDIR | cut -d '=' -f 2 | cut -d \" -f 2`
+ mocversion=`$qt5tooldir/moc -v 2>&1`
+- mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
++ mocversiongrep=`echo $mocversion | grep -E "Qt 5|moc 5"`
+ if test x"$mocversiongrep" != x"$mocversion"; then
+ # no valid moc found
+ have_qt5_libs="no";