From: Ian Stakenvicius Date: Tue, 28 Feb 2017 19:09:15 +0000 (-0500) Subject: dev-lang/spidermonkey:45 - hack to force copy instead of symlink X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ecab2ae7933ec853caf83b6bd449199750e1e3d9;p=gentoo.git dev-lang/spidermonkey:45 - hack to force copy instead of symlink This commit implements a bad hack that overrides the build system's determination that headers should be installed as symlinks by sed'ing a buildsystem-generated file after configure completes. It's not ideal but it will allow the package to be unmasked. Package-Manager: portage-2.3.3 --- diff --git a/dev-lang/spidermonkey/spidermonkey-45.0.2.ebuild b/dev-lang/spidermonkey/spidermonkey-45.0.2.ebuild index 5eb8463c609c..aa14536766ee 100644 --- a/dev-lang/spidermonkey/spidermonkey-45.0.2.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-45.0.2.ebuild @@ -72,6 +72,12 @@ src_configure() { $(use_enable jit ion) \ $(use_enable static-libs static) \ $(use_enable test tests) + + # An unfortunate hack to undo header install symlinking, but + # necessary until the function that generates this file can be + # determined and fixed + sed -i -e 's/^1/2/' \ + "${BUILDDIR}"/_build_manifests/install/dist_include || die } cross_make() { diff --git a/profiles/package.mask b/profiles/package.mask index 7189e77509f8..de5db9debb5a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -30,11 +30,6 @@ #--- END OF EXAMPLES --- -# Ian Stakenvicius (28 Feb 2017) -# Installs symlinks to ${S} instead of copies of files, -# will unmask once fixed -dev-lang/spidermonkey:45 - # Matt Turner (26 Feb 2017) # Integrated into xorg-server since 1.17. Removal in 30 days. # Bug #611058