aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-05-11 16:49:32 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-05-11 16:49:32 +0000
commit16e5eb080ce0608618faf0bf8b775e6c4d166bf1 (patch)
tree331a6b822d1f26f6049c87dfd02202ffafb4ec31 /www/mod_php4
parent1b1465b93caeb40388df08e35d695b689dd2b5ee (diff)
downloadports-16e5eb080ce0608618faf0bf8b775e6c4d166bf1.tar.gz
ports-16e5eb080ce0608618faf0bf8b775e6c4d166bf1.zip
- extension dir is no-debug-zts-20010901 if WITH_APACHE2 is set
- extension dir has to be created if installed as a package since it is empty - move PLIST_SUB into if-clause so it actually works Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes: svn path=/head/; revision=58925
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile6
-rw-r--r--www/mod_php4/pkg-plist3
2 files changed, 6 insertions, 3 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 9b7c401f859c..bae9bf9669da 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -55,12 +55,14 @@ MAKE_ENV= STANDALONE="${STANDALONE}"
.if defined(WITH_APACHE2)
CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \
--with-tsrm-pth
-PLIST_SUB= MOD_DIR=libexec/apache2
+PLIST_SUB= MOD_DIR=libexec/apache2 \
+ NON=
.else
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs
+PLIST_SUB= MOD_DIR=libexec/apache \
+ NON=non-
.endif
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc
-PLIST_SUB= MOD_DIR=libexec/apache
.endif
CONFIGURE_ARGS+=--enable-versioning \
diff --git a/www/mod_php4/pkg-plist b/www/mod_php4/pkg-plist
index f0b897bbdbf1..c86cc458b445 100644
--- a/www/mod_php4/pkg-plist
+++ b/www/mod_php4/pkg-plist
@@ -270,6 +270,7 @@ lib/php/build/shtool
@dirrm lib/php/Schedule
@dirrm lib/php/XML
@dirrm lib/php/build
-@dirrm lib/php/extensions/no-debug-non-zts-20010901
+@dirrm lib/php/extensions/no-debug-%%NON%%zts-20010901
@dirrm lib/php/extensions
@dirrm lib/php
+@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20010901