aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/Makefile')
-rw-r--r--www/mod_php5/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 9b7c401f859c..bae9bf9669da 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/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 \