pkgsrc-WIP-changes archive

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

lua-sql-mysql: Set proper LUA_CDIR, LDIR, INCDIR



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Oct 8 14:34:58 2016 +0200
Changeset:	8224f975f800b7001e0222f472034fbb301402da

Modified Files:
	lua-sql-mysql/Makefile.common

Log Message:
lua-sql-mysql: Set proper LUA_CDIR, LDIR, INCDIR

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8224f975f800b7001e0222f472034fbb301402da

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-sql-mysql/Makefile.common | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/lua-sql-mysql/Makefile.common b/lua-sql-mysql/Makefile.common
index b0539d6..21c0505 100644
--- a/lua-sql-mysql/Makefile.common
+++ b/lua-sql-mysql/Makefile.common
@@ -17,10 +17,13 @@ HOMEPAGE=	http://www.keplerproject.org/luasql/
 
 USE_TOOLS+=		gmake
 
-INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
-INSTALL_MAKE_FLAGS+=	LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
+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}
 
 DISTINFO_FILE=	${.CURDIR}/../../wip/lua-sql-mysql/distinfo
 PATCHDIR=	${.CURDIR}/../../wip/lua-sql-mysql/patches
 
+.include "../../lang/lua/luaversion.mk"
 .include "../../lang/lua/module.mk"


Home | Main Index | Thread Index | Old Index