summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2020-09-07 14:15:12 +0200
committerCédric Krier <cedk@gentoo.org>2020-09-07 14:17:03 +0200
commite140dbe032d48ad70ec979af0a2e02f6df905006 (patch)
treea60ace58a85f102778e1e7d1bc9264e3e0583e3f /dev-libs/stfl/files
parentapp-backup/burp: bump to 2.3.34 (diff)
downloadgentoo-e140dbe032d48ad70ec979af0a2e02f6df905006.tar.gz
gentoo-e140dbe032d48ad70ec979af0a2e02f6df905006.tar.bz2
gentoo-e140dbe032d48ad70ec979af0a2e02f6df905006.zip
dev-libs/stfl: Remove hardcoded pkg-config libdir
Closes: https://bugs.gentoo.org/740854 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'dev-libs/stfl/files')
-rw-r--r--dev-libs/stfl/files/stfl-0.22-pc-libdir.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
new file mode 100644
index 000000000000..82a9529c9573
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
@@ -0,0 +1,24 @@
+diff -ru stfl-0.24.orig/Makefile stfl-0.24/Makefile
+--- stfl-0.24.orig/Makefile 2015-02-12 14:14:33.000000000 +0100
++++ stfl-0.24/Makefile 2020-09-07 14:08:04.125833347 +0200
+@@ -67,7 +67,7 @@
+ ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so
+
+ stfl.pc: stfl.pc.in
+- sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@
++ sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' | sed 's,@LIBDIR@,${libdir},g' > $@
+
+ ifeq ($(FOUND_SPL),1)
+ include spl/Makefile.snippet
+diff -ru stfl-0.24.orig/stfl.pc.in stfl-0.24/stfl.pc.in
+--- stfl-0.24.orig/stfl.pc.in 2009-03-30 20:33:37.000000000 +0200
++++ stfl-0.24/stfl.pc.in 2020-09-07 14:08:07.784854088 +0200
+@@ -2,7 +2,7 @@
+
+ prefix=@PREFIX@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=${exec_prefix}/@LIBDIR@
+ includedir=${prefix}/include
+
+ Name: STFL