FreeBSD Bugzilla – Attachment 232540 Details for
Bug 262639
Add support for make.conf helper variable to disable FLAVOR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable flavor in PHP
php.patch (text/plain), 2.19 KB, created by
Muhammad Moinur Rahman
on 2022-03-18 01:47:07 UTC
(
hide
)
Description:
Disable flavor in PHP
Filename:
MIME Type:
Creator:
Muhammad Moinur Rahman
Created:
2022-03-18 01:47:07 UTC
Size:
2.19 KB
patch
obsolete
>diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk >index 45506538273d..13a1a5f77c16 100644 >--- a/Mk/Uses/php.mk >+++ b/Mk/Uses/php.mk >@@ -47,6 +47,8 @@ > # > # IGNORE_WITH_PHP=N - The port doesn't work with PHP version N. > # >+# BUILD_ONLY_DEFAULT_FLAVOR - explicitely marks non-default ignored (use in make.conf) >+# > # You may combine multiple php:* arguments. > # Don't specify any php:* argument if your port will work with every PHP SAPI. > # >@@ -128,9 +130,14 @@ IGNORE= does not work with PHP versions "${IGNORE_WITH_PHP}" and "${_INSTALLED_P > PHP_VER?= ${PHP_DEFAULT:S/.//} > . endif # .if exists(${PHPBASE}/etc/php.conf) > >+.if defined(BUILD_ONLY_DEFAULT_FLAVOR) >+# Only build php ports of the default flavor >+_ALL_FLAVOR_VERSIONS= ${PHP_VER} >+.else > # Use the "default" php version as the first version for flavors, so that it > # gets to be the default flavor. > _ALL_FLAVOR_VERSIONS= ${PHP_VER} ${_ALL_PHP_VERSIONS:N${PHP_VER}} >+.endif > > # If we want flavors, fill in FLAVORS with the allowed PHP versions, if some > # cannot be used, or all of them if they all can. >@@ -392,7 +399,6 @@ calendar_DEPENDS= misc/php${PHP_VER}-calendar > ctype_DEPENDS= textproc/php${PHP_VER}-ctype > curl_DEPENDS= ftp/php${PHP_VER}-curl > dba_DEPENDS= databases/php${PHP_VER}-dba >-dbase_DEPENDS= databases/php${PHP_VER}-dbase > dom_DEPENDS= textproc/php${PHP_VER}-dom > enchant_DEPENDS= textproc/php${PHP_VER}-enchant > exif_DEPENDS= graphics/php${PHP_VER}-exif >@@ -415,7 +421,6 @@ mbstring_DEPENDS= converters/php${PHP_VER}-mbstring > mcrypt_DEPENDS= security/pecl-mcrypt@${PHP_FLAVOR} > memcache_DEPENDS= databases/pecl-memcache@${PHP_FLAVOR} > memcached_DEPENDS= databases/pecl-memcached@${PHP_FLAVOR} >-mssql_DEPENDS= databases/php${PHP_VER}-mssql > mysqli_DEPENDS= databases/php${PHP_VER}-mysqli > odbc_DEPENDS= databases/php${PHP_VER}-odbc > opcache_DEPENDS= www/php${PHP_VER}-opcache >@@ -446,7 +451,6 @@ soap_DEPENDS= net/php${PHP_VER}-soap > sockets_DEPENDS=net/php${PHP_VER}-sockets > sodium_DEPENDS= security/php${PHP_VER}-sodium > sqlite3_DEPENDS=databases/php${PHP_VER}-sqlite3 >-sybase_ct_DEPENDS= databases/php${PHP_VER}-sybase_ct > sysvmsg_DEPENDS=devel/php${PHP_VER}-sysvmsg > sysvsem_DEPENDS=devel/php${PHP_VER}-sysvsem > sysvshm_DEPENDS=devel/php${PHP_VER}-sysvshm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262639
: 232540