summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop prefix-toolkit-9.ebuildprefix-toolkit-10mainSam James2023-05-261-702/+0
| | | | | | | | | | This was only here as a conversion artefact in each commit in case I missed anything (as the files were all extracted from the corresponding ebuild). We don't want to use the ebuild from the repo and it shouldn't be modified in future either -> bin it. Signed-off-by: Sam James <sam@gentoo.org>
* app-portage/prefix-toolkit: startprefix is for Prefix onlyprefix-toolkit-9Michael Haubenwallner2023-05-261-6/+15
| | | | | | | | | | | | To allow for prefix-stack on top of vanilla Gentoo, prefix-stack-setup does make sense there - but startprefix does not. Add comment why prefix-stack does have some RDEPENDs, and reorder RDEPEND to logically match the comment. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit d3088df8d4f537268af659f9910c4600186bbdcc)
* app-portage/prefix-toolkit: stack: keepdir /usr/share/aclocalprefix-toolkit-8Michael Haubenwallner2023-05-261-0/+1
| | | | | | | | | | Avoid failing eautoreconf in prefix-stack when no package does install into (stacked) usr/share/aclocal. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit a9fd88abcbb33b8e2b01e056f8a21f59a9a62caf)
* app-portage/prefix-toolkit: stack: set AT_SYS_M4DIR, run gcc-configprefix-toolkit-7Michael Haubenwallner2023-05-262-0/+8
| | | | | | | | | | | | In stacked Prefix, need to set AT_SYS_M4DIR so eautoreconf is able to find the m4 files from stacked Prefix. As prefix-toolkit does wrap the compiler found in base prefix to get the additional system paths in, need to perform gcc-config at pkg_postinst. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 3f6fc129ad56558e154c0542686160c786bdc0a3)
* app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthreadprefix-toolkit-6Michael Haubenwallner2023-05-263-4/+41
| | | | | | | | | | | | | 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-262-2/+2
| | | | | | | 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-263-8/+38
| | | | | | | | | | | | | | | | | | 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-262-0/+6
| | | | | | | | | | | | | 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-262-4/+70
| | | | | | | | | | 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-263-55/+103
| | | | | | | | | | | | | | | * 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: BDEPEND on portage, not RDEPENDprefix-toolkit-1Michael Haubenwallner2023-05-261-2/+4
| | | | | | | Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit f6390b8bb5cea47bb3aef53f9b25dde6e154ada1)
* app-portage/prefix-toolkit: new packageprefix-toolkit-0Michael Haubenwallner2023-05-267-0/+982
* 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)