ports/157647: [PATCH] security/gnutls: pkg-config --cflags gnutls fails.

Fumiyuki Shimizu 清水文行 fumifumi at abacustech.jp
Mon Jun 6 03:40:06 UTC 2011


>Number:         157647
>Category:       ports
>Synopsis:       [PATCH] security/gnutls: pkg-config --cflags gnutls fails.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 06 03:40:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Fumiyuki Shimizu =?iso-2022-jp?B?GyRCQDY/ZUo4OVQbKEI=?=
>Release:        FreeBSD 7.3-RELEASE-p4 i386
>Organization:
Abacus Technologies, Inc.
>Environment:
FreeBSD 7.3-RELEASE-p4 #1: Tue Dec 14 00:12:01 JST 2010
>Description:

Hello,
Thank you for maintaining security/gnutls.

Executing
> pkg-config --cflags gnutls
fails, because it requires zlib.pc which is not installed on
FreeBSD. This causes build failure of dependencies, such as
www/mod_gnutls.

Added file(s):
- files/patch-lib-configure

Port maintainer (novel at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:

Install security/gnutls, and running
 > pkg-config --cflags gnutls
produces:
---
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
Package 'zlib', required by 'GnuTLS', not found
--

>Fix:

--- gnutls-2.12.6.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/gnutls/files/patch-lib-configure /home/fumifumi/tmp/gnutls/files/patch-lib-configure
--- /usr/ports/security/gnutls/files/patch-lib-configure	1970-01-01 09:00:00.000000000 +0900
+++ /home/fumifumi/tmp/gnutls/files/patch-lib-configure	2011-06-06 11:32:20.000000000 +0900
@@ -0,0 +1,23 @@
+--- lib/configure.orig	2011-06-06 11:25:37.000000000 +0900
++++ lib/configure	2011-06-06 11:31:15.000000000 +0900
+@@ -17201,13 +17201,13 @@
+ $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
++#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
+ 
+ 
+ 
--- gnutls-2.12.6.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list