From nobody@FreeBSD.org  Wed Dec 15 04:30:28 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4AFDA106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <elij.mx@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: port dns/ldns fails to build with config (EXAMPLES=on and GOST=off)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: konstantin@saurbier.net

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 04:40:07 UTC 2010
>Closed-Date:    Mon Dec 20 21:43:12 UTC 2010
>Last-Modified:  Mon Dec 20 21:50:13 UTC 2010
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Dec 15 04:40:15 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153165 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: konstantin@saurbier.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/153165: port dns/ldns fails to build with config (EXAMPLES=on and GOST=off)
Date: Wed, 15 Dec 2010 04:40:13 UT

 Maintainer of dns/ldns,
 
 Please note that PR ports/153165 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/153165
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: ohauer 
State-Changed-When: Mon Dec 20 21:42:07 UTC 2010 
State-Changed-Why:  
PR obsolated by PR ports/153228 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153165 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/153165: commit references a PR
Date: Mon, 20 Dec 2010 21:41:36 +0000 (UTC)

 ohauer      2010-12-20 21:41:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/ldns             Makefile 
   Log:
    - change maintainer to submitter (NLnetNLabs)
    - patch includes fix for PR ports/153165
      port dns/ldns fails to build with config (EXAMPLES=on and GOST=off)
    - bump PORTREVISION
   
   PR:             ports/153228 ports/153165
   Submitted by:   Jaap Akkerhuis <jaap _at_ NLnetLabs.nl> (new maintainer)
   Approved by:    Konstantin Saurbier <konstantin _at_ saurbier.net> (old maintainer)
   
   Revision  Changes    Path
   1.21      +7 -4      ports/dns/ldns/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
