aboutsummaryrefslogtreecommitdiffstats
path: root/security/gnutls
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-05-06 03:03:00 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-05-06 03:03:00 +0800
commit2b0752166e433e904d0db227f959ca9780dda747 (patch)
tree33779b2c55deeebb262be8dc19abf4c21eaa1394 /security/gnutls
parenta31450057bccfb0c33f8a6f409809dabeb104ba3 (diff)
downloadfreebsd-ports-gnome-2b0752166e433e904d0db227f959ca9780dda747.tar.gz
freebsd-ports-gnome-2b0752166e433e904d0db227f959ca9780dda747.tar.zst
freebsd-ports-gnome-2b0752166e433e904d0db227f959ca9780dda747.zip
GnuTLS tries to use /usr/local/share/certs/ca-root-nss.crt. Instead of
maybe using it if it is already installed or if the P11KIT option is selected (which depends on ca_root_nss), just always depend on ca_root_nss. Reported by: Tatsuki Makino
Diffstat (limited to 'security/gnutls')
-rw-r--r--security/gnutls/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 002e514929c6..335a72ac6ca9 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gnutls
PORTVERSION= 3.2.21
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= GNUPG/gnutls/v3.2
@@ -15,6 +16,8 @@ LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= libnettle.so:${PORTSDIR}/security/nettle \
libtasn1.so:${PORTSDIR}/security/libtasn1
+BUILD_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
USES= cpe gmake iconv libtool makeinfo pathfix pkgconfig tar:xz
USE_LDCONFIG= yes