summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
commit49e9ef7f781dc0f511e367dcdf4f2798c1b025ed (patch)
tree43db2985256b44525aca65ddff538530e5c2c223 /net
parent52c19805011b2d8d525f4d2a6c01cf961940d9aa (diff)
downloadpkgsrc-49e9ef7f781dc0f511e367dcdf4f2798c1b025ed.tar.gz
extension modules must be able to override CONFIGURE_ARGS, so include
lang/php/ext.mk before setting CONFIGURE_ARGS
Diffstat (limited to 'net')
-rw-r--r--net/php-ftp/Makefile5
-rw-r--r--net/php-snmp/Makefile5
-rw-r--r--net/php-sockets/Makefile5
-rw-r--r--net/php-yp/Makefile5
4 files changed, 12 insertions, 8 deletions
diff --git a/net/php-ftp/Makefile b/net/php-ftp/Makefile
index 5d59dcc4956..75f23809284 100644
--- a/net/php-ftp/Makefile
+++ b/net/php-ftp/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= ftp
PKGREVISION= # empty
@@ -7,12 +7,13 @@ COMMENT= PHP extension for FTP access
USE_BUILDLINK3= YES
+.include "../../lang/php/ext.mk"
+
CONFIGURE_ARGS+= --enable-${MODNAME}
# adjust so that the pkg gets built with SSL support
LIBS+= -lssl -lcrypto
CFLAGS+= -DHAVE_OPENSSL_EXT
-.include "../../lang/php/ext.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-snmp/Makefile b/net/php-snmp/Makefile
index 8e2d7ba004e..c9b86a6e60a 100644
--- a/net/php-snmp/Makefile
+++ b/net/php-snmp/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= snmp
CATEGORIES+= net
@@ -7,8 +7,9 @@ COMMENT= PHP extension for SNMP
USE_BUILDLINK3= YES
+.include "../../lang/php/ext.mk"
+
CONFIGURE_ARGS+= --with-${MODNAME}=${PREFIX}
-.include "../../lang/php/ext.mk"
.include "../../net/net-snmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/php-sockets/Makefile b/net/php-sockets/Makefile
index 3d3119a78bf..80e78853612 100644
--- a/net/php-sockets/Makefile
+++ b/net/php-sockets/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= sockets
CATEGORIES+= net
@@ -7,7 +7,8 @@ COMMENT= PHP extension for sockets 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/net/php-yp/Makefile b/net/php-yp/Makefile
index c731e3d1e74..f740b09f30c 100644
--- a/net/php-yp/Makefile
+++ b/net/php-yp/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= yp
CATEGORIES+= net
@@ -7,7 +7,8 @@ COMMENT= PHP extension for YP domain 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"