[Bug 240883] Mk/Uses/php.mk: fix build of all PHP modules when using php74 on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 7 14:32:13 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240883

--- Comment #4 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
(In reply to Alex Dupre from comment #3)
"Why the previous patch doesn't work"
It's probably because USES is added too late, it should be in the Makefile
instead. When added to Mk/Uses, USES value is actually changed, but CC doesn't
change.

Look at Mk/Uses/qt-dist.mk, it's done the same way.

"why do we not have USE_GCC for those archs in lang/php74 Makefile"
We do have USES=compiler:c11 (which sets USE_GCC on GCC platforms), but that
only works for php74 and the ports that include lang/php74/Makefile (all
*/php74-* ports, e.g. archivers/php74-bz2).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list