aboutsummaryrefslogtreecommitdiffstats
path: root/www/pserv
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2007-07-02 20:49:20 +0800
committerale <ale@FreeBSD.org>2007-07-02 20:49:20 +0800
commitd753684376a340ebc9bb1f1cbc6522e3fa098c1e (patch)
treec7fcd2479d360eb3d10e8be2a7752dd36d82ee1f /www/pserv
parent3067c15394f60eed8e0be5692f8bfbd3ec2971f8 (diff)
downloadfreebsd-ports-gnome-d753684376a340ebc9bb1f1cbc6522e3fa098c1e.tar.gz
freebsd-ports-gnome-d753684376a340ebc9bb1f1cbc6522e3fa098c1e.tar.zst
freebsd-ports-gnome-d753684376a340ebc9bb1f1cbc6522e3fa098c1e.zip
Add php-cgi dependency.
PR: ports/81699 Submitted by: vd
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