[Bug 280240] Uses/php: fix @*exec commands with 'pkg -r' installation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jul 2024 14:38:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280240 Bug ID: 280240 Summary: Uses/php: fix @*exec commands with 'pkg -r' installation 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: me@svmhdvn.name CC: ale@FreeBSD.org, bapt@FreeBSD.org, bofh@freebsd.org, crees@FreeBSD.org Created attachment 251993 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251993&action=edit [PATCH] Uses/php: fix @*exec commands with 'pkg -r' installation This patch fixes the behaviour of @*exec keyword commands in Uses/php.mk to respect the PKG_ROOTDIR set by 'pkg -r' installations. This came up when I tried to install www/baikal in a different rootdir. Repro cmd: pkg -r /some/different/root install baikal-php83 Observe: tons of POST-INSTALL errors that look for 'php_config.h' in the wrong place. See https://github.com/freebsd/pkg/issues/2132 for more discussion about this widespread issue in the Ports collection. Please let me know if this is a valid and viable fix for this issue and I can start a new meta-bug that tracks all such issues in the Ports collection. -- You are receiving this mail because: You are the assignee for the bug.