Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2024 14:38:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280240] Uses/php: fix @*exec commands with 'pkg -r' installation
Message-ID:  <bug-280240-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280240

            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=3D251993&action=
=3Dedit
[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 wr=
ong
place.

See https://github.com/freebsd/pkg/issues/2132 for more discussion about th=
is
widespread issue in the Ports collection. Please let me know if this is a v=
alid
and viable fix for this issue and I can start a new meta-bug that tracks all
such issues in the Ports collection.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280240-7788>