diff options
-rw-r--r-- | security/gnutls/Makefile | 3 | ||||
-rw-r--r-- | security/gnutls/files/patch-lib-configure | 16 |
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 + + + |