diff options
author | wiz <wiz@pkgsrc.org> | 2016-12-12 16:17:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-12-12 16:17:53 +0000 |
commit | 90b052083911d3ab06e59ca04c37f86c03dc9e9f (patch) | |
tree | b1fab7dfae823bc12b3b06027e895dd4ddfe8a80 /databases | |
parent | 942122423e4bfdcc42ad71a0c330ae0874253e16 (diff) | |
download | pkgsrc-90b052083911d3ab06e59ca04c37f86c03dc9e9f.tar.gz |
Do not unconditionally add libedit/libreadline to LDFLAGS.
This way they got added as dependencies to sqlite3.so, while
only the sqlite3 binary really needs libreadline.
However, even without the LDFLAGS, the sqlite3 binary correctly
links the library in for me (on NetBSD).
Addresses PR 50776.
Bump PKGREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqlite3/Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 07578a0399b..ec8d1e4b520 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.111 2016/12/04 05:17:04 ryoon Exp $ +# $NetBSD: Makefile,v 1.112 2016/12/12 16:17:53 wiz Exp $ # # used by databases/sqlite3-tcl/Makefile -PKGREVISION= 1 +PKGREVISION= 2 .include "Makefile.common" PKGNAME= sqlite3-${SQLITE3_VERSION} @@ -50,15 +50,5 @@ LDFLAGS.SCO_SV+= -lpthread .endif .include "../../mk/readline.buildlink3.mk" -.if ${READLINE_TYPE} == "editline" && !empty(IS_BUILTIN.editline:M[yY][eE][sS]) -LDFLAGS.NetBSD+= -ledit -LDFLAGS.DragonFly+= -ledit -LDFLAGS.FreeBSD+= -ledit -.else -LDFLAGS.NetBSD+= -lreadline -LDFLAGS.DragonFly+= -lreadline -LDFLAGS.FreeBSD+= -lreadline -.endif - .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |