[20231] trunk/dports/devel/gpgme/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 29 12:53:53 PST 2006


Revision: 20231
          http://trac.macosforge.org/projects/macports/changeset/20231
Author:   takanori at macports.org
Date:     2006-10-29 12:53:53 -0800 (Sun, 29 Oct 2006)

Log Message:
-----------
Add pthread support in gpgme-config.

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

Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile	2006-10-29 20:37:27 UTC (rev 20230)
+++ trunk/dports/devel/gpgme/Portfile	2006-10-29 20:53:53 UTC (rev 20231)
@@ -3,7 +3,7 @@
 PortSystem			1.0
 name				gpgme
 version				1.1.2
-revision			1
+revision			2
 categories			devel security crypto
 maintainers			darwinports at opendarwin.org
 description			A library for easy acces to GnuPG.
@@ -27,11 +27,18 @@
 
 depends_lib			port:gnupg port:pth port:libgpg-error
 
+post-patch {
+	reinplace "s|thread_modules=\"\"|thread_modules=\"pthread\"|" ${worksrcpath}/gpgme/gpgme-config.in
+}
+
 configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 configure.args		--infodir=${prefix}/share/info \
 					--mandir=${prefix}/share/man \
 					--with-gpg=${prefix}/bin/gpg --enable-static
 
+test.run	yes
+test.target	check
+
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061029/41f698c9/attachment.html


More information about the macports-changes mailing list