summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthreadprefix-toolkit-6Michael Haubenwallner2023-05-261-0/+4
| | | | | | | | | | | | | Some X11 library build system is dumb enough to just use -pthread, while others do triage this, before trying with -lpthread. So we intercept the -pthread compiler flag and add -lpthread instead. We cannot do that in parity because pthreads4w is installed in the stacked prefix, where it is built using parity. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit f2795c7e3b35c00c41cfc5a9937c55639a57783a)
* app-portage/prefix-toolkit: drop /portage from child's PORTAGE_TMPDIRMichael Haubenwallner2023-05-261-1/+1
| | | | | | | Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 4cd61342d847cb65569cf938728b995b8f0c20ca)
* app-portage/prefix-toolkit: revbumpprefix-toolkit-5Michael Haubenwallner2023-05-261-4/+10
| | | | | | | | | | | | | | | | | | startprefix: * On Cygwin (assumed when /proc/registry/ is available), also preserve SYSTEMDRIVE, COMSPEC and TEMP env vars, for native Windows programs. prefix-stack-setup: * Give the child prefix a private PORTAGE_TMPDIR, to not lock PORTAGE_TMPDIR in base prefix when merging in multiple childs. * Define clean CFLAGS/CXXFLAGS for the child prefix, it may use a different compiler. Instead, preserve the base prefix' CFLAGS/CXXFLAGS via package.env only for packages using the base prefix compiler. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 54b026b7d865a5936b16d099da8fabc372d5bd10)
* app-portage/prefix-toolkit (prefix-stack-setup): revbumpprefix-toolkit-4Michael Haubenwallner2023-05-261-0/+3
| | | | | | | | | | | | | We do not want to have CBUILD build deps in prefix-stack, but CHOST build deps only. Since EAPI 7 there is BDEPEND, but EAPI 6 and older have both CBUILD and CHOST build deps in DEPEND. As most CHOST build deps also are in RDEPEND anyway, we omit EAPI 6 DEPEND from prefix-stack by setting EMERGE_DEFAULT_OPTS="--root-deps=rdeps" - ignored for EAPI 7. Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 5e3e580aa799fd7849b974179f894fcef2a25d5e)
* app-portage/prefix-toolkit(prefix-stack-setup): accept --chost argumentprefix-toolkit-3Michael Haubenwallner2023-05-261-2/+35
| | | | | | | | | | Allow to override the CHOST value for the stacked Prefix. Require the --chost argument if the profile does not set CHOST. Package-Manager: Portage-2.3.67-prefix, Repoman-2.3.14 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 7c05ed37cfc125aa8c66fc8dd98811a5e8c64414)
* app-portage/prefix-toolkit: revbumpprefix-toolkit-2Michael Haubenwallner2023-05-261-18/+14
| | | | | | | | | | | | | | | * In prefix-stack, maintain @system set independent of profile, as in explicitly removing everything found per etc/portage/make.profile, but adding prefix-toolkit, having RDEPENDs for additional @system packages. * Do not install libtool into prefix-stack any more, packages really should not use any installed libtool script, but configure their own. * In prefix-stack toolchain on Linux, use -isystem to avoid warnings from installed header files. Remember: This is known to break on AIX. Package-Manager: Portage-2.3.67-prefix, Repoman-2.3.13 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 37ce4db03cdef74a6ae97466405133bcc85c7b60)
* app-portage/prefix-toolkit: new packageprefix-toolkit-0Michael Haubenwallner2023-05-261-0/+201
* For any Gentoo Prefix, provides the 'startprefix' script, and should provide some 'runprefix' script later on, as inspired in Bug: https://bugs.gentoo.org/673816 * For base Gentoo Prefix (as in "not stacked"), provides the 'prefix-stack-setup' script, superseding app-portage/prefix-chain-setup, does force the prefix-stack implit USE flag in the stacked Prefix. * For stacked Gentoo Prefix (set up using 'prefix-stack-setup'), provides the toolchain wrapper, superseding sys-apps/prefix-chain-utils. Bug: https://bugs.gentoo.org/658572 Closes: https://bugs.gentoo.org/509142 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 84b9f582e8c8db69a3b3677de702c7cc00ac3dab)