From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 15 04:40:09 2010 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 EDD87106564A for ; Wed, 15 Dec 2010 04:40:08 +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 339D98FC1E for ; Wed, 15 Dec 2010 04:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBF4e8nZ094513 for ; Wed, 15 Dec 2010 04:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBF4e8of094512; Wed, 15 Dec 2010 04:40:08 GMT (envelope-from gnats) Resent-Date: Wed, 15 Dec 2010 04:40:08 GMT Resent-Message-Id: <201012150440.oBF4e8of094512@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, elij Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AFDA106566B for ; Wed, 15 Dec 2010 04:30:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 39A4D8FC2C for ; Wed, 15 Dec 2010 04:30:28 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBF4USLK040342 for ; Wed, 15 Dec 2010 04:30:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBF4URQd040341; Wed, 15 Dec 2010 04:30:27 GMT (envelope-from nobody) Message-Id: <201012150430.oBF4URQd040341@red.freebsd.org> Date: Wed, 15 Dec 2010 04:30:27 GMT From: elij To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153165: port dns/ldns fails to build with config (EXAMPLES=on and GOST=off) 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: Wed, 15 Dec 2010 04:40:10 -0000 >Number: 153165 >Category: ports >Synopsis: port dns/ldns fails to build with config (EXAMPLES=on and GOST=off) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 15 04:40:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: elij >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD fbox.wundrd.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When using the configuration options EXAMPLES=on and GOST=off, the port will not build. This is due to the 'post-configure' section in the WITH_EXAMPLES if block. post-configure: @(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \ --infodir=${PREFIX}/${INFO_PATH} --mandir=${MANPREFIX}/man \ --build=${CONFIGURE_TARGET}) This section does not use the CONFIGURE_ARGS defined for the else block of WITH_GOST. .if defined(WITH_GOST) BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl .else CONFIGURE_ARGS+= --disable-gost .endif If I manually edit the makefile and add '--disable-gost' to the post-configure block above, I can successfully build the port with EXAMPLES enabled and GOST disabled. I am not, however, sure how to include CONFIGURE_ARGS in the post-configure block appropriately (due to my inexperience with the ports makefile system). >How-To-Repeat: cd /usr/ports/dns/ldns make config # enable EXAMPLES # disable GOST make >Fix: Add CONFIGURE_ARGS to the post-configure block in the WITH_EXAMPLES section. The '--disable-gost' configuration argument is not being propagated to the nested configure invocation. >Release-Note: >Audit-Trail: >Unformatted: