Date: Tue, 10 Jun 2014 05:49:41 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357266 - in head/databases: luasql-mysql luasql-postgres luasql-sqlite3 Message-ID: <201406100549.s5A5nfjM079452@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Jun 10 05:49:41 2014 New Revision: 357266 URL: http://svnweb.freebsd.org/changeset/ports/357266 QAT: https://qat.redports.org/buildarchive/r357266/ Log: Support stage Modified: head/databases/luasql-mysql/Makefile head/databases/luasql-postgres/Makefile head/databases/luasql-sqlite3/Makefile Modified: head/databases/luasql-mysql/Makefile ============================================================================== --- head/databases/luasql-mysql/Makefile Tue Jun 10 05:28:58 2014 (r357265) +++ head/databases/luasql-mysql/Makefile Tue Jun 10 05:49:41 2014 (r357266) @@ -41,7 +41,7 @@ MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE} DRIVER_INCS="-I ${LOCALBASE}/include/mysql" .elif ${LUASQL_DRIVER} == "postgres" COMMENT= Lua interface to PostgreSQL -USE_PGSQL= yes +USES+= pgsql MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib -lpq" \ DRIVER_INCS="-I ${LOCALBASE}/include" .elif ${LUASQL_DRIVER} == "sqlite3" @@ -56,9 +56,8 @@ IGNORE= unknown or unsupported luasql d LATEST_LINK= ${PORTNAME}-${LUASQL_DRIVER} PLIST_SUB+= LUASQL_DRIVER=${LUASQL_DRIVER} -NO_STAGE= yes do-install: - @${MKDIR} ${LUA_MODLIBDIR}/luasql - @${INSTALL_PROGRAM} ${WRKSRC}/src/${LUASQL_DRIVER}.so ${LUA_MODLIBDIR}/luasql + @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/luasql + @${INSTALL_LIB} ${WRKSRC}/src/${LUASQL_DRIVER}.so ${STAGEDIR}${LUA_MODLIBDIR}/luasql .include <bsd.port.mk> Modified: head/databases/luasql-postgres/Makefile ============================================================================== --- head/databases/luasql-postgres/Makefile Tue Jun 10 05:28:58 2014 (r357265) +++ head/databases/luasql-postgres/Makefile Tue Jun 10 05:49:41 2014 (r357266) @@ -7,5 +7,4 @@ LUASQL_DRIVER= postgres MASTERDIR= ${.CURDIR}/../luasql-mysql -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/databases/luasql-sqlite3/Makefile ============================================================================== --- head/databases/luasql-sqlite3/Makefile Tue Jun 10 05:28:58 2014 (r357265) +++ head/databases/luasql-sqlite3/Makefile Tue Jun 10 05:49:41 2014 (r357266) @@ -7,5 +7,4 @@ LUASQL_DRIVER= sqlite3 MASTERDIR= ${.CURDIR}/../luasql-mysql -NO_STAGE= yes .include "${MASTERDIR}/Makefile"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406100549.s5A5nfjM079452>