Permalink
Browse files

Simplify the build call for devel/poco dependants.

  • Loading branch information...
1 parent 6934ead commit 537bf2e8e0586e1cfc203e80c0f9ddf8777e79dc fhajny committed Jul 29, 2012
@@ -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}

0 comments on commit 537bf2e

Please sign in to comment.