summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authordrochner <drochner>2003-07-25 17:22:38 +0000
committerdrochner <drochner>2003-07-25 17:22:38 +0000
commit7a4368f924535813d01a10392c44815a5dbe88ab (patch)
tree90458d4368f39f31b1d8f749d24753be6660203d /security/gpgme
parent51c931e9d9430b8e63bd3fa7b07cdd7c8679d544 (diff)
downloadpkgsrc-7a4368f924535813d01a10392c44815a5dbe88ab.tar.gz
With native threads, explicitely disable any GNU pth checking.
Otherwise it gets confused about the library hidden by buildlink.
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 4c757236220..f1758698e41 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/05/02 11:56:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2003/07/25 17:22:38 drochner Exp $
#
DISTNAME= gpgme-0.3.15
@@ -16,11 +16,16 @@ USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
+.include "../../mk/pthread.buildlink2.mk"
+
+.if ${PTHREAD_TYPE} == "native"
+CONFIGURE_ARGS+= --without-pth --without-pth-test
+.endif
+
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
INFOFILES= gpgme.info
-.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"