svn commit: r357266 - in head/databases: luasql-mysql luasql-postgres luasql-sqlite3

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 10 05:49:42 UTC 2014


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"


More information about the svn-ports-head mailing list