pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/sqlite3



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Dec 12 16:17:53 UTC 2016

Modified Files:
        pkgsrc/databases/sqlite3: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/databases/sqlite3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/Makefile
diff -u pkgsrc/databases/sqlite3/Makefile:1.111 pkgsrc/databases/sqlite3/Makefile:1.112
--- pkgsrc/databases/sqlite3/Makefile:1.111     Sun Dec  4 05:17:04 2016
+++ pkgsrc/databases/sqlite3/Makefile   Mon Dec 12 16:17:53 2016
@@ -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"



Home | Main Index | Thread Index | Old Index