summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/php4-zip/Makefile7
-rw-r--r--databases/php5-mysqli/Makefile8
-rw-r--r--databases/php5-sqlite/Makefile7
-rw-r--r--print/php4-pdflib/Makefile7
-rw-r--r--textproc/php4-domxml/Makefile7
-rw-r--r--textproc/php4-xslt/Makefile8
-rw-r--r--www/php4-apc/Makefile7
7 files changed, 23 insertions, 28 deletions
diff --git a/archivers/php4-zip/Makefile b/archivers/php4-zip/Makefile
index 4f21556f485..32b53bce8fc 100644
--- a/archivers/php4-zip/Makefile
+++ b/archivers/php4-zip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/31 21:28:51 jdolecek Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= zip
CATEGORIES+= archivers
@@ -7,10 +7,9 @@ COMMENT= PHP4 extension for ZIP archive handling
USE_BUILDLINK3= YES
-PHP_VERSION_REQD= 4
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_DIR}
+PHP_VERSION_REQD= 4
+.include "../../lang/php/ext.mk"
.include "../../archivers/zziplib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php5-mysqli/Makefile b/databases/php5-mysqli/Makefile
index cc79c318763..f55b4cccd60 100644
--- a/databases/php5-mysqli/Makefile
+++ b/databases/php5-mysqli/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/01 22:08:43 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= mysqli
CATEGORIES+= databases
@@ -8,12 +8,12 @@ MAINTAINER= jdolecek@NetBSD.org
USE_BUILDLINK3= yes
-PHP_VERSION_REQD= 5
-.include "../../lang/php/ext.mk"
-
EVAL_PREFIX+= MYSQLDIR=mysql-client
CONFIGURE_ARGS+= --with-${MODNAME}=${PREFIX}/bin/mysql_config
+PHP_VERSION_REQD= 5
+.include "../../lang/php/ext.mk"
+
MYSQL_VERSION_REQD= 41
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php5-sqlite/Makefile b/databases/php5-sqlite/Makefile
index a6d65348fb0..33889dc24b9 100644
--- a/databases/php5-sqlite/Makefile
+++ b/databases/php5-sqlite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 22:11:52 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= sqlite
CATEGORIES+= databases
@@ -8,10 +8,9 @@ MAINTAINER= jdolecek@NetBSD.org
USE_BUILDLINK3= yes
-PHP_VERSION_REQD= 5
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.sqlite}
+PHP_VERSION_REQD= 5
+.include "../../lang/php/ext.mk"
.include "../../databases/sqlite/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/php4-pdflib/Makefile b/print/php4-pdflib/Makefile
index 2033b05a9ab..740d597b5d7 100644
--- a/print/php4-pdflib/Makefile
+++ b/print/php4-pdflib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/10/31 21:28:51 jdolecek Exp $
+# $NetBSD: Makefile,v 1.13 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= pdf
PKGNAME= php-pdflib-${PHP_BASE_VERS}
@@ -8,14 +8,13 @@ COMMENT= PHP4 extension for PDFlib on-the-fly PDF generation
USE_BUILDLINK3= YES
-PHP_VERSION_REQD= 4
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --with-pdflib=shared,${BUILDLINK_PREFIX.pdflib}
CONFIGURE_ARGS+= --with-jpeg-dir=shared,${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-png-dir=shared,${BUILDLINK_PREFIX.png}
CONFIGURE_ARGS+= --with-tiff-dir=shared,${BUILDLINK_PREFIX.tiff}
CONFIGURE_ENV+= PHP_ZLIB_DIR=${BUILDLINK_PREFIX.zlib}
+PHP_VERSION_REQD= 4
+.include "../../lang/php/ext.mk"
.include "../../print/pdflib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/php4-domxml/Makefile b/textproc/php4-domxml/Makefile
index 475973047b6..48b7117c831 100644
--- a/textproc/php4-domxml/Makefile
+++ b/textproc/php4-domxml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/10/31 21:28:51 jdolecek Exp $
+# $NetBSD: Makefile,v 1.20 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= domxml
CATEGORIES+= textproc
@@ -7,15 +7,14 @@ COMMENT= PHP4 extension for DOM support
USE_BUILDLINK3= YES
-PHP_VERSION_REQD= 4
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-dom=shared,${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_PREFIX.zlib}
CONFIGURE_ARGS+= --with-dom-xslt=${BUILDLINK_PREFIX.libxslt}
CONFIGURE_ARGS+= --with-dom-exslt=${BUILDLINK_PREFIX.libxslt}
+PHP_VERSION_REQD= 4
+.include "../../lang/php/ext.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
index 114cc35d6cf..6262b76cc3f 100644
--- a/textproc/php4-xslt/Makefile
+++ b/textproc/php4-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/10/31 21:28:51 jdolecek Exp $
+# $NetBSD: Makefile,v 1.14 2004/11/05 21:44:44 jdolecek Exp $
MODNAME= xslt
CATEGORIES+= textproc
@@ -7,9 +7,6 @@ COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
USE_BUILDLINK3= YES
-PHP_VERSION_REQD= 4
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --enable-${MODNAME}
CONFIGURE_ARGS+= --with-${MODNAME}-sablot=${BUILDLINK_PREFIX.sablotron}
CONFIGURE_ARGS+= --with-expat-dir=${BUILDLINK_PREFIX.expat}
@@ -18,6 +15,7 @@ CONFIGURE_ARGS+= --with-expat-dir=${BUILDLINK_PREFIX.expat}
# or use the packaged iconv, as appropriate; using
# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
+.include "../../mk/bsd.prefs.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -35,5 +33,7 @@ post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
+PHP_VERSION_REQD= 4
+.include "../../lang/php/ext.mk"
.include "../../textproc/sablotron/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/php4-apc/Makefile b/www/php4-apc/Makefile
index 4defe292e5d..246b72c65c3 100644
--- a/www/php4-apc/Makefile
+++ b/www/php4-apc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/11/02 20:08:15 jdolecek Exp $
+# $NetBSD: Makefile,v 1.14 2004/11/05 21:44:44 jdolecek Exp $
DISTNAME= APC-2.0.4
PKGNAME= php-${DISTNAME:tl}
@@ -17,9 +17,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
USE_BUILDLINK3= YES
DISTINFO_FILE= ${.CURDIR}/distinfo
-PHP_VERSION_REQD= 4 # PHP 4.x only
-.include "../../lang/php/ext.mk"
-
CONFIGURE_ARGS+= --enable-${MODNAME}
PLIST_SRC+= ${.CURDIR}/PLIST.extras
@@ -31,4 +28,6 @@ post-install:
cd ${WRKSRC}; ${INSTALL_DATA} \
INSTALL LICENSE NOTICE ${DOCDIR}
+PHP_VERSION_REQD= 4 # PHP 4.x only
+.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"