Simplify the build call for devel/poco dependants.
This commit is contained in:
parent
3fb4f42192
commit
957363e3d4
5 changed files with 11 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2011/02/06 14:44:07 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/07/29 16:02:45 fhajny Exp $
|
||||
#
|
||||
|
||||
PKGNAME= poco-data-mysql-${POCO_VERSION}
|
||||
|
@ -16,11 +16,9 @@ CONFIGURE_ARGS+= --no-samples
|
|||
|
||||
USE_TOOLS+= pax
|
||||
|
||||
BUILD_DIRS= ${WRKSRC}/Data/MySQL
|
||||
INSTALLATION_DIRS= include/Poco/Data/MySQL lib
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data/MySQL
|
||||
|
||||
do-install:
|
||||
# using the same logic as Poco's Makefile install target.
|
||||
cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2011/02/06 14:44:08 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/07/29 16:02:45 fhajny Exp $
|
||||
#
|
||||
|
||||
PKGNAME= poco-data-odbc-${POCO_VERSION}
|
||||
|
@ -16,11 +16,9 @@ CONFIGURE_ARGS+= --no-samples
|
|||
|
||||
USE_TOOLS+= pax
|
||||
|
||||
BUILD_DIRS= ${WRKSRC}/Data/ODBC
|
||||
INSTALLATION_DIRS= include/Poco/Data/ODBC lib
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data/ODBC
|
||||
|
||||
do-install:
|
||||
# using the same logic as Poco's Makefile install target.
|
||||
cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2012/04/27 12:31:40 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2012/07/29 16:02:45 fhajny Exp $
|
||||
#
|
||||
|
||||
PKGNAME= poco-data-sqlite-${POCO_VERSION}
|
||||
|
@ -17,11 +17,9 @@ CONFIGURE_ARGS+= --no-samples
|
|||
|
||||
USE_TOOLS+= pax
|
||||
|
||||
BUILD_DIRS= ${WRKSRC}/Data/SQLite
|
||||
INSTALLATION_DIRS= include/Poco/Data/SQLite lib
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data/SQLite
|
||||
|
||||
do-install:
|
||||
# using the same logic as Poco's Makefile install target.
|
||||
cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2011/02/06 14:44:07 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/07/29 16:02:45 fhajny Exp $
|
||||
#
|
||||
|
||||
PKGNAME= poco-data-${POCO_VERSION}
|
||||
|
@ -17,9 +17,8 @@ CONFIGURE_ARGS+= --no-samples
|
|||
|
||||
USE_TOOLS+= pax
|
||||
|
||||
BUILD_DIRS= ${WRKSRC}/Data
|
||||
INSTALLATION_DIRS= include/Poco/Data lib
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data
|
||||
|
||||
do-install:
|
||||
# using the same logic as Poco's Makefile install target.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.7 2012/07/29 11:26:54 fhajny Exp $
|
||||
# $NetBSD: Makefile.common,v 1.8 2012/07/29 16:02:45 fhajny Exp $
|
||||
#
|
||||
# used by devel/poco/Makefile
|
||||
# used by databases/poco-data/Makefile
|
||||
|
@ -56,3 +56,5 @@ MAKE_ENV+= XOPEN_SOURCE=500
|
|||
CONFIGURE_ARGS+= --config=SunOS
|
||||
. endif
|
||||
.endif
|
||||
|
||||
MAKE_FLAGS+= POCO_BASE=${WRKSRC}
|
||||
|
|
Loading…
Reference in a new issue