diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-07-21 04:04:50 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-07-21 04:04:50 +0800 |
commit | fb776f7f41f19b04c9e4bd5611d2a8709bccea1c (patch) | |
tree | d7387b709105b93979bf7f1560c9c431e5e966e7 /lang/php70-extensions | |
parent | fd639cd3afae613ce752e2298bdcb1ec1feaeec8 (diff) | |
download | freebsd-ports-gnome-fb776f7f41f19b04c9e4bd5611d2a8709bccea1c.tar.gz freebsd-ports-gnome-fb776f7f41f19b04c9e4bd5611d2a8709bccea1c.tar.zst freebsd-ports-gnome-fb776f7f41f19b04c9e4bd5611d2a8709bccea1c.zip |
If DEFAULT_VERSIONS=php=* is set, then PHP_DEFAULT will be overridden
in bsd.default-versions.mk later, and the value from the Makefile will
not be used at all. We would change bsd.default-versions.mk, but really
these ports should not be changing what the "default" it. Change to
modifying what the "current" version is as PHP_VER.
This fixes some cases of 'make check-sanity' not passing for php extension
ports in Poudriere where there is no LOCALBASE/etc/php.conf to set a proper
PHP_VER. In these cases the PHP_DEFAULT value (of 5.6) is used rather than
the version set by the extension Makefile and the later checks for
whether that version has that extension may incorrectly error.
Diffstat (limited to 'lang/php70-extensions')
-rw-r--r-- | lang/php70-extensions/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/php70-extensions/Makefile b/lang/php70-extensions/Makefile index f7313fa36246..10096df8f281 100644 --- a/lang/php70-extensions/Makefile +++ b/lang/php70-extensions/Makefile @@ -10,7 +10,7 @@ MAINTAINER= miwi@FreeBSD.org COMMENT= "meta-port" to install PHP extensions USES= metaport php -PHP_DEFAULT= 7.0 +PHP_VER= 70 IGNORE_WITH_PHP= 55 56 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ |