From owner-svn-ports-head@FreeBSD.ORG Tue Jan 28 16:39:18 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9CA7ECD; Tue, 28 Jan 2014 16:39:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B98AE1EE0; Tue, 28 Jan 2014 16:39:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SGdIlm067254; Tue, 28 Jan 2014 16:39:18 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0SGdH5q067246; Tue, 28 Jan 2014 16:39:17 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201401281639.s0SGdH5q067246@svn.freebsd.org> From: Alex Dupre Date: Tue, 28 Jan 2014 16:39:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341620 - in head/lang: php5 php55 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 16:39:18 -0000 Author: ale Date: Tue Jan 28 16:39:17 2014 New Revision: 341620 URL: http://svnweb.freebsd.org/changeset/ports/341620 QAT: https://qat.redports.org/buildarchive/r341620/ Log: Fix plist. PR: ports/186182 Submitted by: Dmitry Marakasov Modified: head/lang/php5/Makefile head/lang/php5/pkg-plist head/lang/php55/Makefile head/lang/php55/pkg-plist Modified: head/lang/php5/Makefile ============================================================================== --- head/lang/php5/Makefile Tue Jan 28 16:35:48 2014 (r341619) +++ head/lang/php5/Makefile Tue Jan 28 16:39:17 2014 (r341620) @@ -39,6 +39,7 @@ USE_GNOME= libxml2 OPTIONS_DEFINE= CLI CGI FPM APACHE AP2FILTER EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI IPV6 LINKTHR +OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version @@ -71,17 +72,13 @@ PATCH_SITES+= http://choon.net/opensourc .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli -PLIST_SUB+= CLI="" .else -PLIST_SUB+= CLI="@comment " CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi -PLIST_SUB+= CGI="" .else -PLIST_SUB+= CGI="@comment " CONFIGURE_ARGS+=--disable-cgi .endif @@ -91,9 +88,6 @@ USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} -PLIST_SUB+= FPM="" -.else -PLIST_SUB+= FPM="@comment " .endif .if ${PORT_OPTIONS:MAPACHE} && ${PORT_OPTIONS:MEMBED} @@ -112,17 +106,17 @@ CONFIGURE_ARGS+=--with-apxs2=${APXS} PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= lib${PORTNAME} SHORTMODNAME= ${PORTNAME} -PLIST_SUB+= APACHE="" -.else -PLIST_SUB+= APACHE="@comment " .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed -PLIST_SUB+= EMBED="" +.endif + +.if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} +PLIST_SUB+= SAPI_INC="" .else -PLIST_SUB+= EMBED="@comment " +PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" @@ -169,7 +163,6 @@ CONFIGURE_ARGS+=--disable-ipv6 post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h -# @${REINPLACE_CMD} -e 's|freetype/||g' ${WRKSRC}/config.m4 @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ Modified: head/lang/php5/pkg-plist ============================================================================== --- head/lang/php5/pkg-plist Tue Jan 28 16:35:48 2014 (r341619) +++ head/lang/php5/pkg-plist Tue Jan 28 16:39:17 2014 (r341620) @@ -258,9 +258,9 @@ man/man1/phpize.1.gz @dirrmtry include/php/ext @dirrm include/php/main/streams @dirrm include/php/main -@dirrm include/php/sapi/cli +%%CLI%%@dirrm include/php/sapi/cli %%EMBED%%@dirrm include/php/sapi/embed -@dirrm include/php/sapi +%%SAPI_INC%%@dirrmtry include/php/sapi @dirrmtry include/php @dirrm lib/php/build @dirrmtry lib/php Modified: head/lang/php55/Makefile ============================================================================== --- head/lang/php55/Makefile Tue Jan 28 16:35:48 2014 (r341619) +++ head/lang/php55/Makefile Tue Jan 28 16:39:17 2014 (r341620) @@ -39,6 +39,7 @@ USE_GNOME= libxml2 OPTIONS_DEFINE= CLI CGI FPM APACHE AP2FILTER EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI IPV6 LINKTHR +OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version @@ -71,17 +72,13 @@ PATCH_SITES+= http://choon.net/opensourc .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli -PLIST_SUB+= CLI="" .else -PLIST_SUB+= CLI="@comment " CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi -PLIST_SUB+= CGI="" .else -PLIST_SUB+= CGI="@comment " CONFIGURE_ARGS+=--disable-cgi .endif @@ -91,9 +88,6 @@ USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} -PLIST_SUB+= FPM="" -.else -PLIST_SUB+= FPM="@comment " .endif .if ${PORT_OPTIONS:MAPACHE} && ${PORT_OPTIONS:MEMBED} @@ -112,17 +106,17 @@ CONFIGURE_ARGS+=--with-apxs2=${APXS} PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 -PLIST_SUB+= APACHE="" -.else -PLIST_SUB+= APACHE="@comment " .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed -PLIST_SUB+= EMBED="" +.endif + +.if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} +PLIST_SUB+= SAPI_INC="" .else -PLIST_SUB+= EMBED="@comment " +PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" @@ -169,7 +163,6 @@ CONFIGURE_ARGS+=--disable-ipv6 post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h - @${REINPLACE_CMD} -e 's|freetype/||g' ${WRKSRC}/configure @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ Modified: head/lang/php55/pkg-plist ============================================================================== --- head/lang/php55/pkg-plist Tue Jan 28 16:35:48 2014 (r341619) +++ head/lang/php55/pkg-plist Tue Jan 28 16:39:17 2014 (r341620) @@ -258,9 +258,9 @@ man/man1/phpize.1.gz @dirrmtry include/php/ext @dirrm include/php/main/streams @dirrm include/php/main -@dirrm include/php/sapi/cli +%%CLI%%@dirrm include/php/sapi/cli %%EMBED%%@dirrm include/php/sapi/embed -@dirrm include/php/sapi +%%SAPI_INC%%@dirrm include/php/sapi @dirrmtry include/php @dirrm lib/php/build @dirrmtry lib/php