Date: Sun, 16 Jun 2013 03:58:51 GMT From: Erick Turnquist <jhujhiti@adjectivism.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179606: opendnssec port fails to build with SQLite and alternate LOCALBASE Message-ID: <201306160358.r5G3wp2i086480@oldred.freebsd.org> Resent-Message-ID: <201306160400.r5G4004x010345@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179606 >Category: ports >Synopsis: opendnssec port fails to build with SQLite and alternate LOCALBASE >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: Sun Jun 16 04:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Erick Turnquist >Release: 9.1 >Organization: >Environment: FreeBSD rhea 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Sun Jun 9 22:53:11 UTC 2013 root@rhea:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 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 >How-To-Repeat: Build and install sqlite3 somewhere other than /usr/local and then build opendnssec. >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: --- a 2013-06-03 18:13:11.000000000 -0400 +++ b 2013-06-15 23:22:15.978095595 -0400 @@ -46,6 +46,7 @@ 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="" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306160358.r5G3wp2i086480>