Date: Sun, 19 May 2024 14:59:44 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279165] Mk/Scripts/do-depends.sh: [PATCH] Allow non-root to build with USE_PACKAGE_DEPENDS Message-ID: <bug-279165-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279165 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=3D250813&action= =3Dedit 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 regul= ar user builds a port which has a dependency on another port, after building t= he 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 b= uild ports with USE_PACKAGE_DEPENDS defined, similar to what we have in Mk/bsd.port.mk. --=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-279165-7788>