diff options
author | epg <epg@pkgsrc.org> | 2008-12-31 20:37:09 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-12-31 20:37:09 +0000 |
commit | a8cfd4827421f95a01f27c37cb372c03de1ff8c5 (patch) | |
tree | bb7b36c1dceb4e4d1b5a9de09aefb6ec045ab920 /databases/sqlite3 | |
parent | 338057e9c1553393a176886f471031b6dd65aad8 (diff) | |
download | pkgsrc-a8cfd4827421f95a01f27c37cb372c03de1ff8c5.tar.gz |
Force -ldl on Linux, as this uses dlopen and friends. Also filed bug report:
http://www.sqlite.org/cvstrac/tktview?tn=3555
Diffstat (limited to 'databases/sqlite3')
-rw-r--r-- | databases/sqlite3/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 07c39faece5..2e470ba9a2c 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/12/15 09:06:11 martin Exp $ +# $NetBSD: Makefile,v 1.16 2008/12/31 20:37:09 epg Exp $ PKG_DESTDIR_SUPPORT= user-destdir @@ -9,9 +9,14 @@ CONFIGURE_ARGS+= --disable-tcl CONFIGURE_ARGS+= --enable-load-extension CONFIGURE_ARGS+= --with-readline-inc= +# Uses dlopen and friends but doesn't use -ldl on Linux. +# See http://www.sqlite.org/cvstrac/tktview?tn=3555 +LIBS+= ${BUILDLINK_LDADD.dl} + post-install: ${INSTALL_MAN} ${WRKSRC}/sqlite3.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sqlite3.1 .include "../../devel/readline/buildlink3.mk" +.include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |