ports/153165: port dns/ldns fails to build with config (EXAMPLES=on and GOST=off)
elij
elij.mx at gmail.com
Wed Dec 15 04:40:10 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list