aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-11-23 20:49:41 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-11-23 20:49:41 +0000
commit3a0f8513a18e948c8ed94b379b2e30a912b11571 (patch)
tree30a333149dcd1a549119d4502874ad07f4c823b8 /www/mod_php4
parent1b3325c53518e7ade14d451798493d2f6d963c79 (diff)
downloadports-3a0f8513a18e948c8ed94b379b2e30a912b11571.tar.gz
ports-3a0f8513a18e948c8ed94b379b2e30a912b11571.zip
Notes
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 4eede4b0f597..27264d970100 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -37,12 +37,6 @@ SLAVEDIRS= lang/php4
USE_BZIP2= yes
USE_SUBMAKE= yes
USE_AUTOCONF_VER=213
-
-.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/include/apache2/apr.h)
-WITH_APACHE2= yes
-.endif
-
.if defined(WITH_APACHE2)
APACHE_PORT?= ${PORTSDIR}/www/apache2
.else
@@ -91,14 +85,9 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
-.if !defined(STANDALONE)
-.if !defined(WITH_APACHE2)
+.if !defined(STANDALONE) && !defined(WITH_APACHE2)
@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
@${ECHO_CMD} ""
-.else
- @${ECHO_CMD} "Building mod_php4 as an apache2 module."
- @${ECHO_CMD} ""
-.endif
.endif
post-install:
@@ -131,4 +120,4 @@ post-clean:
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>