pkgsrc-WIP-changes archive

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

lua-pgsql: Switch to ../../lang/lua/module.mk



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Oct 7 17:29:47 2016 +0200
Changeset:	086a817fc533f8e044e2becc7cd84e062c8acf51

Modified Files:
	lua-pgsql/Makefile

Log Message:
lua-pgsql: Switch to ../../lang/lua/module.mk

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

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

diffstat:
 lua-pgsql/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diffs:
diff --git a/lua-pgsql/Makefile b/lua-pgsql/Makefile
index 0e4164e..343fa79 100644
--- a/lua-pgsql/Makefile
+++ b/lua-pgsql/Makefile
@@ -20,10 +20,8 @@ INSTALLATION_DIRS=	lib
 MAKE_FLAGS+=		DRIVER_LIBS_postgres="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib -L${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib"
 MAKE_FLAGS+=		DRIVER_INCS_postgres=-I${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include
 INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=	LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
 
-#  	%make_install PREFIX=%{buildroot}%{_prefix} LUA_LIBDIR=%{buildroot}%{lualibdir} LUA_DIR=%{buildroot}%{luapkgdir}
-# DRIVER_INCS="`pkg-config --cflags sqlite3`" DRIVER_LIBS="`pkg-config --libs sqlite3`" DEFS="%{optflags}" sqlite3
-
-.include "../../lang/lua/buildlink3.mk"
+.include "../../lang/lua/module.mk"
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index