summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-02-09 11:35:50 +0000
committermarkd <markd@pkgsrc.org>2005-02-09 11:35:50 +0000
commit4200ac9b0628ba9ae343bc0a2fbf800083bb9a1e (patch)
treeb3299aee6d3c928c09ce5071c30033bb400464d2 /security/gnupg
parent05ac1e9e2d2b0b62c3f2fca67f6ab26ed9147139 (diff)
downloadpkgsrc-4200ac9b0628ba9ae343bc0a2fbf800083bb9a1e.tar.gz
Disable gnupg's new iconv code on platforms that have problems with it
in the default locale (NetBSD < 2.0 and Solaris). OK'ed by wiz. Fixes PR pkg/28895.
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 7631d05ee13..319c1a29da5 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2004/12/25 02:54:13 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2005/02/09 11:35:50 markd Exp $
DISTNAME= gnupg-1.4.0
CATEGORIES= security
@@ -36,6 +36,10 @@ INFO_FILES= gpg.info gpgv.info
INSTALLATION_DIRS= bin libexec/gnupg man/man1 man/man7 share/gnupg
+.if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*))
+CONFIGURE_ARGS+= --disable-gnupg-iconv
+.endif
+
# XXX: still needed?
.if ${OPSYS} == "FreeBSD"
SUBST_CLASSES= fixme