summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-30 10:25:18 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-30 10:25:18 +0000
commit803dd5cb885dc220c65f63a5900369c7ea41e020 (patch)
tree703df8fff50d2fb4e09dc29b8cd222b3177f1c78 /security
parentf673ca340ec845f89cad04b7448c8081b1d5a093 (diff)
downloadpkgsrc-803dd5cb885dc220c65f63a5900369c7ea41e020.tar.gz
security/gpgme includes librfuncs/buildink3.mk, but getenv_r was not
used because configure fail to detect it. Implemented recomendation from Min Sik Kim to bypass the test.
Diffstat (limited to 'security')
-rw-r--r--security/gpgme/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 9bb752d1086..0497dee608a 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/10/23 15:00:48 shannonjr Exp $
+# $NetBSD: Makefile,v 1.24 2004/10/30 10:25:18 shannonjr Exp $
#
DISTNAME= gpgme-1.0.1
@@ -26,6 +26,10 @@ LIBS.SunOS+= -lnsl -lsocket
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
+# getenv_r is not detected correctly. It will be found
+# in either base system or librfuncs
+CONFIGURE_ENV+= ac_cv_func_getenv_r=yes
+
TEST_TARGET= check
.include "../../mk/pthread.buildlink3.mk"
@@ -46,4 +50,5 @@ INFO_FILES= gpgme.info
.if !empty(PKG_OPTIONS:Mgpgsm)
.include "../../security/gnupg-devel/buildlink3.mk"
CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpg2
.endif