diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-10 05:49:41 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-10 05:49:41 +0000 |
| commit | d22c4f1c2fdc2c5f3ea31577dabdfe135f62fb14 (patch) | |
| tree | 5dbdc7b769a9c58346da953e1223ff8ec678acb1 /databases | |
| parent | Manpage conflicts with nethack have been resolved, for which bump PORTREVISION. (diff) | |
Support stage
Diffstat (limited to 'databases')
| -rw-r--r-- | databases/luasql-mysql/Makefile | 7 | ||||
| -rw-r--r-- | databases/luasql-postgres/Makefile | 1 | ||||
| -rw-r--r-- | databases/luasql-sqlite3/Makefile | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/databases/luasql-mysql/Makefile b/databases/luasql-mysql/Makefile index 93a6ff853131..3db239f12433 100644 --- a/databases/luasql-mysql/Makefile +++ b/databases/luasql-mysql/Makefile @@ -41,7 +41,7 @@ MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib/mysql -lmysqlclient" \ 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 driver 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> diff --git a/databases/luasql-postgres/Makefile b/databases/luasql-postgres/Makefile index 7068a239a077..dd52a5184538 100644 --- a/databases/luasql-postgres/Makefile +++ b/databases/luasql-postgres/Makefile @@ -7,5 +7,4 @@ LUASQL_DRIVER= postgres MASTERDIR= ${.CURDIR}/../luasql-mysql -NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/databases/luasql-sqlite3/Makefile b/databases/luasql-sqlite3/Makefile index cbc09fc05a35..f8b25f34a8be 100644 --- a/databases/luasql-sqlite3/Makefile +++ b/databases/luasql-sqlite3/Makefile @@ -7,5 +7,4 @@ LUASQL_DRIVER= sqlite3 MASTERDIR= ${.CURDIR}/../luasql-mysql -NO_STAGE= yes .include "${MASTERDIR}/Makefile" |
