[Bug 261797] devel/php-composer2 fails to build when lang/php80 is built with MYSQL80 option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Feb 2022 18:57:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261797

            Bug ID: 261797
           Summary: devel/php-composer2 fails to build when lang/php80 is
                    built with MYSQL80 option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sean@rogue-research.com
                CC: cyberbotx@cyberbotx.com, tz@freebsd.org
                CC: cyberbotx@cyberbotx.com, tz@freebsd.org

As I understand it, when lang/php80 is built with the MYSQL80 option set, the
security/php81-openssl cannot be used.

devel/php-composer2 however unconditionally depends on it.

With this quick hack, php-composer2 can be built:

-USE_PHP=       ctype filter intl json mbstring openssl phar
+USE_PHP=       ctype filter intl json mbstring phar

Obviously a better solution is needed.

See also:

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

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