aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg1
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-09-07 02:19:12 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-09-07 02:19:12 +0000
commit2c79bfa88ce60ed884992a4dc74fed44c3c0200f (patch)
tree00250e6a25504e817485ee5aab4a524c30425af3 /security/gnupg1
parent947807c8d8fa8014e2f3107843d46bfcf3db06a1 (diff)
downloadports-2c79bfa88ce60ed884992a4dc74fed44c3c0200f.tar.gz
ports-2c79bfa88ce60ed884992a4dc74fed44c3c0200f.zip
Notes
Diffstat (limited to 'security/gnupg1')
-rw-r--r--security/gnupg1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index aced06b313a3..b636bca9684d 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -32,13 +32,16 @@ PORTDOCS= *
OPTIONS= LDAP "LDAP keyserver interface" off \
LIBICONV "use libiconv" off \
+ LIBUSB "use libusb" off \
SUID_GPG "install GPG with suid" off \
NLS "Native Language Support" on
.include <bsd.port.pre.mk>
-.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
+.if defined(WITH_LIBICONV)
USE_ICONV= yes
+.else
+CONFIGURE_ARGS+= --without-libiconv-prefix
.endif
.if defined(WITH_LIBUSB)
@@ -52,6 +55,7 @@ CONFIGURE_ARGS+= --without-libusb
USE_OPENLDAP= yes
PLIST_SUB+= WITH_LDAP=""
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
+#CONFIGURE_ENV+= LDFLAGS="-L/usr/lib"
.else
PLIST_SUB+= WITH_LDAP="@comment "
CONFIGURE_ARGS+= --disable-ldap