diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-10-26 11:11:33 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-10-26 11:11:33 +0000 |
commit | 324b24ae588427221166779376d8f6a71ba5bbd7 (patch) | |
tree | 376cbdccdc3b8a71991c2bdd8c3556b46a114dea /databases | |
parent | ee1fcc57346815056b4b851f9faf4eddc15e4b44 (diff) | |
download | pkgsrc-324b24ae588427221166779376d8f6a71ba5bbd7.tar.gz |
lua-sql-*: Fix all the module builds.
In all cases they were trying to use variables that aren't used in the build
process, the sqlite include paths had typos, and sqlite3 was trying to use
sqlite2's buildlink3.mk
Diffstat (limited to 'databases')
-rw-r--r-- | databases/lua-sql-mysql/Makefile | 6 | ||||
-rw-r--r-- | databases/lua-sql-postgres/Makefile | 6 | ||||
-rw-r--r-- | databases/lua-sql-sqlite/Makefile | 6 | ||||
-rw-r--r-- | databases/lua-sql-sqlite3/Makefile | 8 |
4 files changed, 13 insertions, 13 deletions
diff --git a/databases/lua-sql-mysql/Makefile b/databases/lua-sql-mysql/Makefile index c21806815e8..a71267b5f78 100644 --- a/databases/lua-sql-mysql/Makefile +++ b/databases/lua-sql-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/10/08 12:53:54 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2018/10/26 11:11:33 jperkin Exp $ .include "Makefile.common" @@ -9,8 +9,8 @@ COMMENT= MySQL bindings for Lua BUILD_TARGET= mysql -MAKE_FLAGS+= DRIVER_LIBS_mysql="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -L${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient" -MAKE_FLAGS+= DRIVER_INCS_mysql=-I${BUILDLINK_PREFIX.mysql-client}/include/mysql +# Abuse DRIVER_INCS to get our compiler flags into the build +MAKE_FLAGS+= DRIVER_INCS="${CFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -L${BUILDLINK_PREFIX.mysql-client}/lib" .include "../../mk/mysql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/lua-sql-postgres/Makefile b/databases/lua-sql-postgres/Makefile index 7c429c23237..9d51307ffb1 100644 --- a/databases/lua-sql-postgres/Makefile +++ b/databases/lua-sql-postgres/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2016/10/09 21:41:56 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2018/10/26 11:11:33 jperkin Exp $ PKGREVISION= 1 .include "../../databases/lua-sql-mysql/Makefile.common" @@ -10,8 +10,8 @@ COMMENT= PostgreSQL bindings for Lua BUILD_TARGET= postgres -MAKE_FLAGS+= DRIVER_LIBS_postgres="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -L${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -lpq" -MAKE_FLAGS+= DRIVER_INCS_postgres=-I${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include +# Abuse DRIVER_INCS to get our compiler flags into the build +MAKE_FLAGS+= DRIVER_INCS="${CFLAGS} ${COMPILER_RPATH_FLAG}${PGSQL_PREFIX}/lib -L${PGSQL_PREFIX}/lib" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/lua-sql-sqlite/Makefile b/databases/lua-sql-sqlite/Makefile index 9f7309ccbdf..67e78155940 100644 --- a/databases/lua-sql-sqlite/Makefile +++ b/databases/lua-sql-sqlite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/10/08 12:57:07 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2018/10/26 11:11:33 jperkin Exp $ .include "../../databases/lua-sql-mysql/Makefile.common" @@ -9,8 +9,8 @@ COMMENT= SQLite 2.x bindings for Lua BUILD_TARGET= sqlite -MAKE_FLAGS+= DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite}/lib -L${BUILDLINK_PREFIX.sqlite}/lib -lsqlite" -MAKE_FLAGS+= DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite}/includel +# Abuse DRIVER_INCS to get our compiler flags into the build +MAKE_FLAGS+= DRIVER_INCS="${CFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite}/lib -L${BUILDLINK_PREFIX.sqlite}/lib" .include "../../databases/sqlite/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/lua-sql-sqlite3/Makefile b/databases/lua-sql-sqlite3/Makefile index b640d9a3279..8c2ac8048da 100644 --- a/databases/lua-sql-sqlite3/Makefile +++ b/databases/lua-sql-sqlite3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/10/08 12:58:22 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2018/10/26 11:11:33 jperkin Exp $ .include "../../databases/lua-sql-mysql/Makefile.common" @@ -9,8 +9,8 @@ COMMENT= SQLite 3.x bindings for Lua BUILD_TARGET= sqlite3 -MAKE_FLAGS+= DRIVER_LIBS_sqlite="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -L${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3" -MAKE_FLAGS+= DRIVER_INCS_sqlite=-I${BUILDLINK_PREFIX.sqlite3}/includel +# Abuse DRIVER_INCS to get our compiler flags into the build +MAKE_FLAGS+= DRIVER_INCS="${CFLAGS} ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -L${BUILDLINK_PREFIX.sqlite3}/lib" -.include "../../databases/sqlite/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |