summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-11-05 12:30:27 +0100
committerUlrich Müller <ulm@gentoo.org>2021-11-05 12:30:47 +0100
commitceda3639f6211bfec7170eeb32b3c716b6937a82 (patch)
tree23ca70fc9d70d5efb91acf51054c29d54faaa2ee /dev-lisp/ecls
parentsys-devel/bmake: add 20211024 (diff)
downloadgentoo-ceda3639f6211bfec7170eeb32b3c716b6937a82.tar.gz
gentoo-ceda3639f6211bfec7170eeb32b3c716b6937a82.tar.bz2
gentoo-ceda3639f6211bfec7170eeb32b3c716b6937a82.zip
dev-lisp/ecls: Respect LDFLAGS
Closes: https://bugs.gentoo.org/723162 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-lisp/ecls')
-rw-r--r--dev-lisp/ecls/ecls-21.2.1-r4.ebuild1
-rw-r--r--dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-lisp/ecls/ecls-21.2.1-r4.ebuild b/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
index 0e82d194e649..0f4009c48622 100644
--- a/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
+++ b/dev-lisp/ecls/ecls-21.2.1-r4.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch"
"${FILESDIR}/${PN}-16.1.3-build.patch"
"${FILESDIR}/${PN}-21.2.1-donotcompressinfo.patch"
+ "${FILESDIR}/${PN}-21.2.1-ldflags.patch"
)
src_prepare() {
diff --git a/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch b/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch
new file mode 100644
index 000000000000..5ac4cc5ea793
--- /dev/null
+++ b/dev-lisp/ecls/files/ecls-21.2.1-ldflags.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/723162
+
+--- ecl-21.2.1/src/c/Makefile.in
++++ ecl-21.2.1/src/c/Makefile.in
+@@ -104,7 +104,7 @@
+
+ $(DPP): $(srcdir)/dpp.c $(srcdir)/symbols_list.h
+ if test -f ../CROSS-DPP; then touch dpp; else \
+- $(TRUE_CC) -I$(srcdir) -I@true_builddir@ -I./ $(srcdir)/dpp.c @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ -o $@ ; \
++ $(TRUE_CC) -I$(srcdir) -I@true_builddir@ -I./ $(srcdir)/dpp.c @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ @LDFLAGS@ -o $@ ; \
+ fi
+
+ $(OBJS): $(DPP)