In my make.conf, I have: PREFIX=/usr/pkg LOCALBASE=/usr/pkg When building opendnssec without MySQL selected (so, using the default of SQLite), the build fails: checking for database backend... SQLite3 checking for sqlite3... /usr/pkg/bin/sqlite3 checking what are the SQLite3 includes... -I/usr/local/include checking what are the SQLite3 libs... -L/usr/local/lib -lsqlite3 checking sqlite3.h usability... no checking sqlite3.h presence... no checking for sqlite3.h... no configure: error: Can't find SQLite3 headers Fix: We simply need to pass --with-sqlite3=${LOCALBASE} to configure, just like we already do for MySQL. There is a patch attached. Patch attached with submission follows: How-To-Repeat: Build and install sqlite3 somewhere other than /usr/local and then build opendnssec.
Maintainer of dns/opendnssec, Please note that PR ports/179606 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/179606 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Ah yes, good catch. I agree with the patch, jaap Maintainer of dns/opendnssec, Please note that PR ports/179606 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/179606 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: feedback->open Maintainer approved.
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it.
Author: wg Date: Fri Jun 21 21:00:44 2013 New Revision: 321504 URL: http://svnweb.freebsd.org/changeset/ports/321504 Log: dns/opendnssec: fix build with sqlite - Fix build with non-default LOCALBASE and sqlite PR: ports/179606 Submitted by: Erick Turnquist <jhujhiti@adjectivism.org> Approved by: maintainer Modified: head/dns/opendnssec/Makefile Modified: head/dns/opendnssec/Makefile ============================================================================== --- head/dns/opendnssec/Makefile Fri Jun 21 20:40:28 2013 (r321503) +++ head/dns/opendnssec/Makefile Fri Jun 21 21:00:44 2013 (r321504) @@ -46,6 +46,7 @@ PLIST_SUB+= MYSQL="" PORTDATA= migrate_adapters_1.mysql migrate_keyshare_mysql.pl \ migrate_zone_delete.mysql migrate_id_mysql.pl migrate_to_ng_mysql.pl .else +CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} BUILD_DEPENDS+= sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3 LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3 PLIST_SUB+= SQLITE="" _______________________________________________ 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!