diff options
author | kamil <kamil> | 2016-10-21 23:32:40 +0000 |
---|---|---|
committer | kamil <kamil> | 2016-10-21 23:32:40 +0000 |
commit | 1d1f45881f01fabf17adf9fbfccd7580ee22ebb1 (patch) | |
tree | 96a1363817cb532b18f688a5b99460c600b67b7d /databases/sqlite3 | |
parent | 3532006fd2856289d306c8f000ebde2a69dd3ecf (diff) | |
download | pkgsrc-1d1f45881f01fabf17adf9fbfccd7580ee22ebb1.tar.gz |
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 (limited to 'databases/sqlite3')
-rw-r--r-- | databases/sqlite3/Makefile | 14 | ||||
-rw-r--r-- | databases/sqlite3/Makefile.common | 10 |
2 files changed, 16 insertions, 8 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index f70b6632d26..f979e9adf07 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -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 + +.include "Makefile.common" -DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} PKGNAME= sqlite3-${SQLITE3_VERSION} CATEGORIES= databases MAINTAINER= pkgsrc-users@NetBSD.org -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 @@ USE_TOOLS+= gmake 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 @@ LDFLAGS.SCO_SV+= -lpthread .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 --git a/databases/sqlite3/Makefile.common b/databases/sqlite3/Makefile.common new file mode 100644 index 00000000000..8c222e3c363 --- /dev/null +++ b/databases/sqlite3/Makefile.common @@ -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 |