security/gnupg (rather helpfully) is failing on 'make package' due to adns not being found and the gpg2keys_kdns utility not being built. With KDNS=on, LOCALBASE and PREFIX=/usr/pkg (log from poudriere): ===> Building package for gnupg-2.0.22 pkg-static: lstat(/wrkdirs/usr/ports/security/gnupg/work/stage/usr/pkg/libexec/gpg2keys_kdns): No such file or directory *** [do-package] Error code 1 config.log shows: checking adns.h usability... no checking adns.h presence... no checking for adns.h... no checking for adns_free... no We need to use --with-adns, just like the LDAP options above it in the port Makefile. A patch is attached. Fix: Patch is attached Patch attached with submission follows: How-To-Repeat: Set KDNS=on, change LOCALBASE and PREFIX, and build security/gnupg.
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer (via the GNATS Auto Assign Tool)
Author: eadler Date: Thu Nov 14 05:37:22 2013 New Revision: 333739 URL: http://svnweb.freebsd.org/changeset/ports/333739 Log: Fix build with KDNS: --with-adns must be passed to configure. PR: ports/183113 Submitted by: Erick Turnquist <jhujhiti@adjectivism.org> Approved by: maintainer timeout (3 weeks) Modified: head/security/gnupg/Makefile Modified: head/security/gnupg/Makefile ============================================================================== --- head/security/gnupg/Makefile Thu Nov 14 04:26:45 2013 (r333738) +++ head/security/gnupg/Makefile Thu Nov 14 05:37:22 2013 (r333739) @@ -68,7 +68,8 @@ CONFIGURE_ARGS+=--disable-ldap .endif .if ${PORT_OPTIONS:MKDNS} -LIB_DEPENDS+= adns:${PORTSDIR}/dns/adns +LIB_DEPENDS+= libadns.so:${PORTSDIR}/dns/adns +CONFIGURE_ARGS+= --with-adns=${LOCALBASE} .else CONFIGURE_SUB= -e '/GPGKEYS_KDNS=/s/".*"/""/' .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
Responsible Changed From-To: kuriyama->eadler I closed it.