aboutsummaryrefslogtreecommitdiff
path: root/www/pserv
diff options
context:
space:
mode:
Diffstat (limited to 'www/pserv')
-rw-r--r--www/pserv/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/pserv/Makefile b/www/pserv/Makefile
index ab1cb68eee6e..4039f8679ee6 100644
--- a/www/pserv/Makefile
+++ b/www/pserv/Makefile
@@ -21,6 +21,11 @@ OPTIONS= LOG "Enable logging" on \
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_PHP)
+USE_PHP= yes
+WANT_PHP_CGI= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g;s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/defaults/pserv.conf ${WRKSRC}/sources/main.h