All pastes #1937455 Raw Edit

pkgsrc php-fpm option

public diff v1 · immutable
#1937455 ·published 2010-09-10 18:31 UTC
rendered paste body
Index: Makefile===================================================================RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/lang/php5/Makefile,vretrieving revision 1.78diff -u -r1.78 Makefile--- Makefile	4 Mar 2010 15:36:04 -0000	1.78+++ Makefile	10 Sep 2010 18:28:20 -0000@@ -13,7 +13,7 @@ LIBTOOL_OVERRIDE=	# empty  PKG_OPTIONS_REQUIRED_GROUPS+=	sapi-PKG_OPTIONS_GROUP.sapi=	cgi fastcgi+PKG_OPTIONS_GROUP.sapi=	cgi fastcgi fastcgi-fpm PKG_SUGGESTED_OPTIONS+=	cgi  .include "Makefile.php"@@ -27,6 +27,11 @@ CONFIGURE_ARGS+=	--enable-fastcgi .endif +.if !empty(PKG_OPTIONS:Mfastcgi-fpm)+CONFIGURE_ARGS+=	--enable-fastcgi+CONFIGURE_ARGS+=	--enable-fpm+.endif+ CGIDIR=			${PREFIX}/libexec/cgi-bin EGDIR=			${PREFIX}/share/examples/php MESSAGE_SUBST+=		CGIDIR=${CGIDIR:Q}