aboutsummaryrefslogtreecommitdiff
path: root/security/gnutls
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2011-06-06 12:07:37 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2011-06-06 12:07:37 +0000
commitfdcb7cc1a28023b861f21209be81d3393c909c87 (patch)
treea7796cdac8accdb828e1572843fbeeacc7545349 /security/gnutls
parent233397d256a3dd29b40d8affc658102a4f3e6818 (diff)
downloadports-fdcb7cc1a28023b861f21209be81d3393c909c87.tar.gz
ports-fdcb7cc1a28023b861f21209be81d3393c909c87.zip
Notes
Diffstat (limited to 'security/gnutls')
-rw-r--r--security/gnutls/Makefile3
-rw-r--r--security/gnutls/files/patch-lib-configure16
2 files changed, 16 insertions, 3 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index bc6643fae7fb..2752c9e9b4c1 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -35,9 +35,6 @@ MANCOMPRESSED= no
.include <bsd.port.pre.mk>
-post-configure:
- @${REINPLACE_CMD} -e 's|zlib||' ${WRKSRC}/lib/gnutls.pc
-
.if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.4)) && !defined(WITHOUT_LIBTASN1)
LIB_DEPENDS+= tasn1.4:${PORTSDIR}/security/libtasn1
.else
diff --git a/security/gnutls/files/patch-lib-configure b/security/gnutls/files/patch-lib-configure
new file mode 100644
index 000000000000..dfe4a6c2b18c
--- /dev/null
+++ b/security/gnutls/files/patch-lib-configure
@@ -0,0 +1,16 @@
+--- lib/configure.orig 2011-06-06 15:37:23.000000000 +0400
++++ lib/configure 2011-06-06 15:40:46.000000000 +0400
+@@ -17201,13 +17201,6 @@
+ $as_echo "no" >&6; }
+ fi
+
+-if test x$ac_zlib != xno; then
+- if test x$GNUTLS_REQUIRES_PRIVATE = x; then
+- GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib"
+- else
+- GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE , zlib"
+- fi
+-fi
+
+
+