aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php4/Makefile
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-27 00:44:25 +0800
committerale <ale@FreeBSD.org>2004-03-27 00:44:25 +0800
commit2dc0cd6f6c0ccdc5e766c04580d515d4f3d85ae7 (patch)
tree7e6e8badadc3314225aa6fabf016896a236b60a9 /lang/php4/Makefile
parent3d646d2027c8b16fa4cfe710dab04f83226126df (diff)
downloadfreebsd-ports-gnome-2dc0cd6f6c0ccdc5e766c04580d515d4f3d85ae7.tar.gz
freebsd-ports-gnome-2dc0cd6f6c0ccdc5e766c04580d515d4f3d85ae7.tar.zst
freebsd-ports-gnome-2dc0cd6f6c0ccdc5e766c04580d515d4f3d85ae7.zip
Update to 4.3.5 release:
- add support for db 4.2
Diffstat (limited to 'lang/php4/Makefile')
-rw-r--r--lang/php4/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index cdc3bfd73919..f2a6626250f0 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -20,7 +20,7 @@
#
PORTNAME= php4
-PORTVERSION= 4.3.4
+PORTVERSION= 4.3.5
PORTREVISION= 7
CATEGORIES?= lang devel www
MASTER_SITES= http://www.php.net/distributions/:release \
@@ -110,6 +110,8 @@ CONFIGURE_ARGS+=--enable-fastcgi
CONFIGURE_ARGS+=--enable-discard-path
.endif
SAPI_FILE= bin/php
+.else
+CONFIGURE_ARGS+=--disable-cgi
.endif
PLIST_SUB+= APACHE="@comment "
.else
@@ -247,11 +249,15 @@ CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
.if defined(WITH_DB4)
WITH_DB4_VER?= 41
+.if ${WITH_DB4_VER} == 42
+LIB_DEPENDS+= db4.2.2:${PORTSDIR}/databases/db42
+.else
.if ${WITH_DB4_VER} == 4
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
.else
LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
.endif
+.endif
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
.endif
@@ -583,8 +589,7 @@ CONFIGURE_ARGS+=--enable-debug
EXT_DIR:= ${EXT_DIR}-debug
.endif
-PLIST_SUB+= SAPI_FILE=${SAPI_FILE} \
- EXT_DIR=${EXT_DIR}
+PLIST_SUB+= SAPI_FILE=${SAPI_FILE}
.if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
@@ -714,7 +719,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
@${INSTALL_DATA} ${WRKSRC}/php.ini-recommended ${PREFIX}/etc
@${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc
- @${TOUCH} ${PREFIX}/lib/php/${EXT_DIR}/.keepme
.if !defined(WITHOUT_APACHE)
@${ECHO_CMD} "*****************************************************************************"
@${ECHO_CMD} ""