From owner-svn-ports-all@FreeBSD.ORG Tue Jun 10 05:49:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92E65F38; Tue, 10 Jun 2014 05:49:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6702E2AE5; Tue, 10 Jun 2014 05:49:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5A5ngY6079455; Tue, 10 Jun 2014 05:49:42 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5A5nfjM079452; Tue, 10 Jun 2014 05:49:41 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201406100549.s5A5nfjM079452@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 10 Jun 2014 05:49:41 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 05:49:42 -0000 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 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"