Skip to content
Permalink
Browse files

Add pthread support in gpgme-config.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@20231 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Takanori Yamamoto
Takanori Yamamoto committed Oct 29, 2006
1 parent 9d6ded9 commit 1e6b84f390399caf63009a9da5ec1abe5925b61a
Showing with 8 additions and 1 deletion.
  1. +8 −1 devel/gpgme/Portfile
@@ -3,7 +3,7 @@
PortSystem 1.0
name gpgme
version 1.1.2
revision 1
revision 2
categories devel security crypto
maintainers darwinports@opendarwin.org
description A library for easy acces to GnuPG.
@@ -27,11 +27,18 @@ checksums sha1 ebf8c278e967588acd7c416bd14bfe35615b7e81

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 \

0 comments on commit 1e6b84f

Please sign in to comment.
You can’t perform that action at this time.