From fca4a2bcd6d97cf82eb70c2cc4fdb27ec8c4d969 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 31 Oct 2004 21:07:13 +0000 Subject: extension modules must be able to override CONFIGURE_ARGS, so include lang/php/ext.mk before setting CONFIGURE_ARGS --- devel/php-gettext/Makefile | 5 +++-- devel/php-gmp/Makefile | 5 +++-- devel/php-posix/Makefile | 5 +++-- devel/php-shmop/Makefile | 5 +++-- devel/php-sysvsem/Makefile | 5 +++-- devel/php-sysvshm/Makefile | 5 +++-- 6 files changed, 18 insertions(+), 12 deletions(-) (limited to 'devel') diff --git a/devel/php-gettext/Makefile b/devel/php-gettext/Makefile index 91098510cac..8ec993b8c21 100644 --- a/devel/php-gettext/Makefile +++ b/devel/php-gettext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= gettext CATEGORIES+= devel @@ -7,8 +7,9 @@ COMMENT= PHP extension for gettext support USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.gettext} -.include "../../lang/php/ext.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/php-gmp/Makefile b/devel/php-gmp/Makefile index ce8c3aff496..05cc445ee48 100644 --- a/devel/php-gmp/Makefile +++ b/devel/php-gmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= gmp CATEGORIES+= devel math @@ -7,8 +7,9 @@ COMMENT= PHP extension for arbitrary precision math USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.gmp} -.include "../../lang/php/ext.mk" .include "../../devel/gmp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/php-posix/Makefile b/devel/php-posix/Makefile index b36030fd953..9cfb6888e86 100644 --- a/devel/php-posix/Makefile +++ b/devel/php-posix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= posix CATEGORIES+= devel @@ -7,7 +7,8 @@ COMMENT= PHP extension for POSIX-like functions USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --enable-${MODNAME}=shared -.include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/php-shmop/Makefile b/devel/php-shmop/Makefile index 487675040bd..7958b2ee109 100644 --- a/devel/php-shmop/Makefile +++ b/devel/php-shmop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= shmop CATEGORIES+= devel @@ -7,7 +7,8 @@ COMMENT= PHP extension for simple SysV shared memory operations USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} -.include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/php-sysvsem/Makefile b/devel/php-sysvsem/Makefile index 65ce16232e8..f896dbf1fd8 100644 --- a/devel/php-sysvsem/Makefile +++ b/devel/php-sysvsem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= sysvsem CATEGORIES+= devel @@ -7,7 +7,8 @@ COMMENT= PHP extension for SysV semaphore support USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} -.include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/php-sysvshm/Makefile b/devel/php-sysvshm/Makefile index 980e6950af5..8f88d6df284 100644 --- a/devel/php-sysvshm/Makefile +++ b/devel/php-sysvshm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $ MODNAME= sysvshm CATEGORIES+= devel @@ -7,7 +7,8 @@ COMMENT= PHP extension for SysV shared memory support USE_BUILDLINK3= YES +.include "../../lang/php/ext.mk" + CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} -.include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3