summaryrefslogtreecommitdiff
path: root/databases/sqlite3/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2016-12-12 16:17:53 +0000
committerwiz <wiz>2016-12-12 16:17:53 +0000
commit18cf53a3221fd8c5c6e996cde8d23fbb9a4f9c76 (patch)
tree199c29ff5010d9b7abe5c5c77ad2633c6da6aea6 /databases/sqlite3/Makefile
parentc5e2bda78625df06092c11aa0b69dabb535c7070 (diff)
downloadpkgsrc-18cf53a3221fd8c5c6e996cde8d23fbb9a4f9c76.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/sqlite3/Makefile')
-rw-r--r--databases/sqlite3/Makefile14
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"