From e484c39c96ade9abe51043741cc18eec45f3deab Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 9 Feb 2005 11:35:50 +0000 Subject: 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. --- security/gnupg/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security') 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 -- cgit v1.2.3