Date: Mon, 7 Dec 2009 19:07:41 GMT From: Coleman Kane <ckane@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141253: print/cups-base port improperly compiles SSL support Message-ID: <200912071907.nB7J7fI9087156@www.freebsd.org> Resent-Message-ID: <200912071910.nB7JAAsb088154@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141253 >Category: ports >Synopsis: print/cups-base port improperly compiles SSL support >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 07 19:10:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Coleman Kane >Release: 9-CURRENT >Organization: The FreeBSD Project >Environment: FreeBSD erwin 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r+9f3cb0d: Tue Nov 24 09:50:06 EST 2009 root@erwin:/usr/obj/usr/src/sys/ERWIN amd64 >Description: Trying to upgrade the print/cups-base port. For some reason, PKG_CONFIG_PATH doesn't get recognized properly and the port fails to recognize that gnutls is installed, and refuses to add support for it to the build. I'm attaching a patch that adds PKG_CONFIG_PATH=${PREFIX}/libdata/pkgconfig to the CONFIGURE_ARGS, but I expect there is a more "appropriate" way to do this. I just don't know what that is. >How-To-Repeat: Try upgrading print/cups-base with GnuTLS support enabled. >Fix: Attached patch Patch attached with submission follows: diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 6dd503e..a0bc7c3 100644 --- print/cups-base/Makefile +++ print/cups-base/Makefile @@ -35,7 +35,8 @@ CONFIGURE_ARGS+= --localstatedir=/var \ --with-docdir=${DOCSDIR} \ --with-icondir=${PREFIX}/share/icons \ --with-menudir=${DESKTOPDIR} \ - --with-domainsocket=${CUPS_SOCKET} + --with-domainsocket=${CUPS_SOCKET} \ + PKGCONFIG=${PREFIX}/bin/pkg-config OPTIONS?= GNUTLS "Build with GNUTLS library" on \ PHP "Build PHP support" off \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912071907.nB7J7fI9087156>