pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/lua-sql-mysql lua-sql: Fix LUA_INC which can...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a6d1e1cbd23
branches:  trunk
changeset: 314379:8a6d1e1cbd23
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 26 11:00:05 2018 +0000

description:
lua-sql: Fix LUA_INC which cannot possibly have worked.

Remove LUA_LIBDIR and LUA_DIR, they are unused by the lua-sql modules.

diffstat:

 databases/lua-sql-mysql/Makefile.common |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 328a5a44f830 -r 8a6d1e1cbd23 databases/lua-sql-mysql/Makefile.common
--- a/databases/lua-sql-mysql/Makefile.common   Fri Oct 26 10:20:55 2018 +0000
+++ b/databases/lua-sql-mysql/Makefile.common   Fri Oct 26 11:00:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2017/09/24 14:27:55 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2018/10/26 11:00:05 jperkin Exp $
 #
 # used by databases/lua-sql-postgres/Makefile
 # used by databases/lua-sql-sqlite/Makefile
@@ -15,12 +15,10 @@
 LICENSE=       mit
 HOMEPAGE=      https://keplerproject.github.io/luasql/
 
-USE_TOOLS+=            gmake
+USE_TOOLS+=    gmake
 
 MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX}
-MAKE_FLAGS+=   LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
-MAKE_FLAGS+=   LUA_DIR=${DESTDIR}${PREFIX}/${LUA_LDIR}
-MAKE_FLAGS+=   LUA_INC=${DESTDIR}${PREFIX}/${LUA_INCDIR}
+MAKE_FLAGS+=   LUA_INC=${BUILDLINK_PREFIX.${LUA_PACKAGE}}/${LUA_INCDIR}
 
 DISTINFO_FILE= ${.CURDIR}/../../databases/lua-sql-mysql/distinfo
 PATCHDIR=      ${.CURDIR}/../../databases/lua-sql-mysql/patches



Home | Main Index | Thread Index | Old Index