pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/sqlite3 Do not unconditionally add libedit/l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c84836fa8b4
branches:  trunk
changeset: 355825:8c84836fa8b4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 12 16:17:53 2016 +0000

description:
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:

 databases/sqlite3/Makefile |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (30 lines):

diff -r 564388811bff -r 8c84836fa8b4 databases/sqlite3/Makefile
--- a/databases/sqlite3/Makefile        Mon Dec 12 16:08:00 2016 +0000
+++ b/databases/sqlite3/Makefile        Mon Dec 12 16:17:53 2016 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index