summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authormarkd <markd>2005-02-09 11:35:50 +0000
committermarkd <markd>2005-02-09 11:35:50 +0000
commit24ef3490d0f34cb2cbcdab0021bd932ac96fde96 (patch)
treeb3299aee6d3c928c09ce5071c30033bb400464d2 /security/gnupg
parent685cdfced76dbb528710057c058e82d2041e1b4c (diff)
downloadpkgsrc-24ef3490d0f34cb2cbcdab0021bd932ac96fde96.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