pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases Add sqlite3/Makefile.common for sqlite3 pack...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5a3df52fc62
branches: trunk
changeset: 354193:e5a3df52fc62
user: kamil <kamil%pkgsrc.org@localhost>
date: Fri Oct 21 23:32:40 2016 +0000
description:
Add sqlite3/Makefile.common for sqlite3 packages to share code
The intention is to reuse Makefile.common in devel/lemon.
Replace ${IS_BUILTIN.editline} == "yes" with !empty(IS_BUILTIN.editline:M[yY][eE][sS])
diffstat:
databases/sqlite3-tcl/Makefile | 9 +++------
databases/sqlite3/Makefile | 14 ++++++--------
databases/sqlite3/Makefile.common | 10 ++++++++++
3 files changed, 19 insertions(+), 14 deletions(-)
diffs (78 lines):
diff -r f7368cbbca0f -r e5a3df52fc62 databases/sqlite3-tcl/Makefile
--- a/databases/sqlite3-tcl/Makefile Fri Oct 21 22:47:59 2016 +0000
+++ b/databases/sqlite3-tcl/Makefile Fri Oct 21 23:32:40 2016 +0000
@@ -1,15 +1,12 @@
-# $NetBSD: Makefile,v 1.81 2016/04/20 05:04:44 adam Exp $
+# $NetBSD: Makefile,v 1.82 2016/10/21 23:32:40 kamil Exp $
-DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION}
+.include "../../databases/sqlite3/Makefile.common"
+
PKGNAME= sqlite3-tcl-${SQLITE3_VERSION}
CATEGORIES= databases
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.sqlite.org/
COMMENT= SQL Database Engine in a C Library (TCL extension)
-LICENSE= public-domain
-
-.include "../../databases/sqlite3/Makefile.version"
WRKSRC= ${WRKDIR}/${DISTNAME}/tea
diff -r f7368cbbca0f -r e5a3df52fc62 databases/sqlite3/Makefile
--- a/databases/sqlite3/Makefile Fri Oct 21 22:47:59 2016 +0000
+++ b/databases/sqlite3/Makefile Fri Oct 21 23:32:40 2016 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.108 2016/04/20 05:04:44 adam Exp $
+# $NetBSD: Makefile,v 1.109 2016/10/21 23:32:40 kamil Exp $
+#
+# used by databases/sqlite3-tcl/Makefile
-DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION}
+.include "Makefile.common"
+
PKGNAME= sqlite3-${SQLITE3_VERSION}
CATEGORIES= databases
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.sqlite.org/
COMMENT= SQL Database Engine in a C Library
-LICENSE= public-domain
-.include "../../databases/sqlite3/Makefile.version"
.include "options.mk"
USE_LIBTOOL= yes
@@ -17,8 +17,6 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-static-shell
-PKGCONFIG_OVERRIDE+= sqlite3.pc.in
-
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
@@ -49,7 +47,7 @@
.endif
.include "../../mk/readline.buildlink3.mk"
-.if ${READLINE_TYPE} == "editline" && ${IS_BUILTIN.editline} == "yes"
+.if ${READLINE_TYPE} == "editline" && !empty(IS_BUILTIN.editline:M[yY][eE][sS])
LDFLAGS.NetBSD+= -ledit
LDFLAGS.DragonFly+= -ledit
LDFLAGS.FreeBSD+= -ledit
diff -r f7368cbbca0f -r e5a3df52fc62 databases/sqlite3/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/sqlite3/Makefile.common Fri Oct 21 23:32:40 2016 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile.common,v 1.49 2016/10/21 23:32:40 kamil Exp $
+
+DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION}
+
+HOMEPAGE= http://www.sqlite.org/
+LICENSE= public-domain
+
+.include "../../databases/sqlite3/Makefile.version"
+
+PKGCONFIG_OVERRIDE+= sqlite3.pc.in
Home |
Main Index |
Thread Index |
Old Index