[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
Fri Sep 27 20:47:44 UTC 2019


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

            Bug ID: 240883
           Summary: Mk/Uses/php.mk: fix build of all PHP modules when
                    using php74 on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org

Created attachment 207902
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207902&action=edit
patch

php74 introduced C11 requirement and all optional PHP modules available in the
ports tree need a patch like this:

.include <bsd.port.options.mk>
.if ${FLAVOR} == php74
USES+=compiler:c11
.endif

With over 400 ports that need, it's not feasible to fix. And there will be
php75 (or 80) next year which will require all those ports to be fixed again.

Change php.mk to fix it in one place.

Additionally, fix a typo.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list