aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg1
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2006-10-05 13:37:17 +0000
committerPeter Pentchev <roam@FreeBSD.org>2006-10-05 13:37:17 +0000
commit8d75176018c8fdf2efb9453c9712b2235dbb62d5 (patch)
tree564b8e34d1729622599a7ef6ae7cf9a9f54971b5 /security/gnupg1
parent803fd29816ebc196355bced98061c48cc61f9b74 (diff)
downloadports-8d75176018c8fdf2efb9453c9712b2235dbb62d5.tar.gz
ports-8d75176018c8fdf2efb9453c9712b2235dbb62d5.zip
Fix GnuPG's hidden dependency on cURL - add cURL support to OPTIONS and
either explicitly depend on it, or disable it in the configure options. PR: 103427 Silence from: kuriyama (maintainer)
Notes
Notes: svn path=/head/; revision=174537
Diffstat (limited to 'security/gnupg1')
-rw-r--r--security/gnupg1/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index b636bca9684d..92377e4eb934 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnupg
PORTVERSION= 1.4.5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gnupg
@@ -34,7 +35,8 @@ 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
+ NLS "Native Language Support" on \
+ CURL "use libcurl for the keyserver interface" on
.include <bsd.port.pre.mk>
@@ -69,6 +71,15 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.if !defined(WITHOUT_CURL)
+LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
+CONFIGURE_ARGS+=--with-libcurl=${LOCALBASE}
+# Work around a GnuPG configure buglet
+CONFIGURE_ENV+= _libcurl_config=${LOCALBASE}/bin/curl-config
+.else
+CONFIGURE_ARGS+=--without-libcurl
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}