diff options
-rw-r--r-- | databases/sqlite3-tcl/Makefile | 9 | ||||
-rw-r--r-- | databases/sqlite3/Makefile | 14 | ||||
-rw-r--r-- | databases/sqlite3/Makefile.common | 10 |
3 files changed, 19 insertions, 14 deletions
diff --git a/databases/sqlite3-tcl/Makefile b/databases/sqlite3-tcl/Makefile index d8402236e9b..9d92ed82f6d 100644 --- a/databases/sqlite3-tcl/Makefile +++ b/databases/sqlite3-tcl/Makefile @@ -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 $ + +.include "../../databases/sqlite3/Makefile.common" -DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} PKGNAME= sqlite3-tcl-${SQLITE3_VERSION} CATEGORIES= databases MAINTAINER= pkgsrc-users@NetBSD.org -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 --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 |