[142918] trunk/dports/devel/gpgme

devans at macports.org devans at macports.org
Sat Dec 12 07:47:18 PST 2015


Revision: 142918
          https://trac.macports.org/changeset/142918
Author:   devans at macports.org
Date:     2015-11-27 13:25:05 -0800 (Fri, 27 Nov 2015)
Log Message:
-----------
gpgme: disable configure check for argp.h to fix build when argp-standalone is installed (#49052).

Modified Paths:
--------------
    trunk/dports/devel/gpgme/Portfile

Added Paths:
-----------
    trunk/dports/devel/gpgme/files/patch-configure.ac.diff

Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile	2015-11-27 20:56:18 UTC (rev 142917)
+++ trunk/dports/devel/gpgme/Portfile	2015-11-27 21:25:05 UTC (rev 142918)
@@ -32,7 +32,8 @@
 
 use_parallel_build  no
 
-patchfiles          patch-tests-gpg-Makefile.in.diff
+patchfiles          patch-configure.ac.diff \
+                    patch-tests-gpg-Makefile.in.diff
 
 post-patch {
     reinplace "s|thread_modules=\"\"|thread_modules=\"pthread\"|" ${worksrcpath}/src/gpgme-config.in
@@ -40,6 +41,9 @@
     reinplace "s|@GPGSM@|${prefix}/bin/gpgsm|" ${worksrcpath}/src/gpgme-config.in
 }
 
+use_autoreconf      yes
+autoreconf.args     -fvi
+
 configure.args      --enable-static
 
 post-configure {

Added: trunk/dports/devel/gpgme/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/gpgme/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/devel/gpgme/files/patch-configure.ac.diff	2015-11-27 21:25:05 UTC (rev 142918)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2015-11-27 13:06:16.000000000 -0800
++++ configure.ac	2015-11-27 13:06:37.000000000 -0800
+@@ -304,7 +304,7 @@
+ 
+ 
+ # Checks for header files.
+-AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h
++AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h
+                        unistd.h sys/time.h sys/types.h sys/stat.h])
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/d4a3623e/attachment.html>


More information about the macports-changes mailing list