summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-29 22:24:42 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-29 22:24:42 +0900
commit82e7fd5a9995d2748ccd54ff0b5c3624a66c2c5d (patch)
tree14b00b863076c67e58ea56a2ba8780d171660332 /dev-scheme
parentdev-java/icedtea-bin: revbump of -r1 install related fix (diff)
downloadgentoo-82e7fd5a9995d2748ccd54ff0b5c3624a66c2c5d.tar.gz
gentoo-82e7fd5a9995d2748ccd54ff0b5c3624a66c2c5d.tar.bz2
gentoo-82e7fd5a9995d2748ccd54ff0b5c3624a66c2c5d.zip
dev-scheme/stklos: respect LDFLAGS
Closes: https://bugs.gentoo.org/827754 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/stklos/files/stklos-1.70-gentoo.patch10
-rw-r--r--dev-scheme/stklos/stklos-1.70.ebuild3
2 files changed, 12 insertions, 1 deletions
diff --git a/dev-scheme/stklos/files/stklos-1.70-gentoo.patch b/dev-scheme/stklos/files/stklos-1.70-gentoo.patch
index 954b15a617b2..c9baba3bf268 100644
--- a/dev-scheme/stklos/files/stklos-1.70-gentoo.patch
+++ b/dev-scheme/stklos/files/stklos-1.70-gentoo.patch
@@ -54,3 +54,13 @@
mv $(DESTDIR)/$(bindir)/stklos $(DESTDIR)/$(bindir)/stklos-@VERSION@
ln -s stklos-@VERSION@ $(DESTDIR)/$(bindir)/stklos
+--- a/utils/shlib-options
++++ b/utils/shlib-options
+@@ -173,6 +173,6 @@
+
+ echo "os=\"$os\"; version=\"$version\"; machine=\"$machine\"; OS=\"$OS\"; \
+ OS_FLAVOUR=\"$OS_FLAVOUR\";SH_COMP_FLAGS=\"$SH_COMP_FLAGS\"; \
+-SH_LOAD_FLAGS=\"$SH_LOAD_FLAGS\"; \
++SH_LOAD_FLAGS=\"$LDFLAGS $SH_LOAD_FLAGS\"; \
+ SH_LOADER=\"$SH_LOADER\"; SH_SUFFIX=\"$SH_SUFFIX\"; \
+ SH_LIB_SUFFIX=\"$SH_LIB_SUFFIX\"; SH_MAIN_LOAD_FLAGS=\"$SH_MAIN_LOAD_FLAGS\""
diff --git a/dev-scheme/stklos/stklos-1.70.ebuild b/dev-scheme/stklos/stklos-1.70.ebuild
index b3cc1f2b0cc6..74b2eb58dcf5 100644
--- a/dev-scheme/stklos/stklos-1.70.ebuild
+++ b/dev-scheme/stklos/stklos-1.70.ebuild
@@ -3,7 +3,7 @@
EAPI="8"
-inherit autotools
+inherit autotools toolchain-funcs
DESCRIPTION="fast and light Scheme implementation"
HOMEPAGE="https://www.stklos.net/"
@@ -28,6 +28,7 @@ src_prepare() {
default
eautoreconf
+ export LD="$(tc-getCC)"
}
src_configure() {