[Bug 279165] Mk/Scripts/do-depends.sh: [PATCH] Allow non-root to build with USE_PACKAGE_DEPENDS
Date: Sun, 19 May 2024 14:59:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279165 Bug ID: 279165 Summary: Mk/Scripts/do-depends.sh: [PATCH] Allow non-root to build with USE_PACKAGE_DEPENDS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de Created attachment 250813 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250813&action=edit Fix -DUSE_PACKAGE_DEPENDS port building for regular useres Problem: Installing existing packages in order to resolve port dependencies fails for regular users (make -DUSE_PACKAGE_DEPENDS). This isn't an issue without USE_PACKAGE_DEPENDS defined, because if a regular user builds a port which has a dependency on another port, after building the dependency port, in Mk/bsd.ports.mk we utilize ${SU_CMD} for installing the built dependency port. Attached patch extends Mk/Scripts/do-depends.sh to allow regular users to build ports with USE_PACKAGE_DEPENDS defined, similar to what we have in Mk/bsd.port.mk. -- You are receiving this mail because: You are the assignee for the bug.