From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 7 19:10:10 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71C8A10656A4 for ; Mon, 7 Dec 2009 19:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 348AC8FC1B for ; Mon, 7 Dec 2009 19:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7JAAVa088155 for ; Mon, 7 Dec 2009 19:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB7JAAsb088154; Mon, 7 Dec 2009 19:10:10 GMT (envelope-from gnats) Resent-Date: Mon, 7 Dec 2009 19:10:10 GMT Resent-Message-Id: <200912071910.nB7JAAsb088154@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Coleman Kane Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 252D21065676 for ; Mon, 7 Dec 2009 19:07:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 13F108FC1D for ; Mon, 7 Dec 2009 19:07:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7J7f77087157 for ; Mon, 7 Dec 2009 19:07:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB7J7fI9087156; Mon, 7 Dec 2009 19:07:41 GMT (envelope-from nobody) Message-Id: <200912071907.nB7J7fI9087156@www.freebsd.org> Date: Mon, 7 Dec 2009 19:07:41 GMT From: Coleman Kane To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141253: print/cups-base port improperly compiles SSL support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 19:10:10 -0000 >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: