summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-02-28 14:09:15 -0500
committerIan Stakenvicius <axs@gentoo.org>2017-02-28 14:10:03 -0500
commitecab2ae7933ec853caf83b6bd449199750e1e3d9 (patch)
tree3d9d75000960389ae46f05e9ed0454a7d432bc8a /dev-lang/spidermonkey
parentdev-python/editorconfig-core-py: Add python3_6 (diff)
downloadgentoo-ecab2ae7933ec853caf83b6bd449199750e1e3d9.tar.gz
gentoo-ecab2ae7933ec853caf83b6bd449199750e1e3d9.tar.bz2
gentoo-ecab2ae7933ec853caf83b6bd449199750e1e3d9.zip
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
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r--dev-lang/spidermonkey/spidermonkey-45.0.2.ebuild6
1 files changed, 6 insertions, 0 deletions
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() {