summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2024-07-21 21:18:30 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-08-09 18:00:40 +0300
commit0c91f5bbf5a410763d674b51e89ea004e857b9eb (patch)
treef901f13ad2eb5c051ffe5d59981705edd8fd7d52 /app-text
parentapp-editors/vscode: drop 1.91.0, 1.91.1 (diff)
downloadgentoo-0c91f5bbf5a410763d674b51e89ea004e857b9eb.tar.gz
gentoo-0c91f5bbf5a410763d674b51e89ea004e857b9eb.tar.bz2
gentoo-0c91f5bbf5a410763d674b51e89ea004e857b9eb.zip
app-text/opensp: Use @AR@ in intl/Makefile.in
Otherwise it uses an hardcoded `ar` which isn't available with USE="-native-symlinks". Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/37659 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/opensp/files/opensp-1.5.2-fix-ar-intl.patch12
-rw-r--r--app-text/opensp/opensp-1.5.2-r10.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/app-text/opensp/files/opensp-1.5.2-fix-ar-intl.patch b/app-text/opensp/files/opensp-1.5.2-fix-ar-intl.patch
new file mode 100644
index 000000000000..e6c824b0695f
--- /dev/null
+++ b/app-text/opensp/files/opensp-1.5.2-fix-ar-intl.patch
@@ -0,0 +1,12 @@
+diff --git a/intl/Makefile.in b/intl/Makefile.in
+--- a/intl/Makefile.in
++++ b/intl/Makefile.in
+@@ -44,7 +44,7 @@ mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+
+ l = @INTL_LIBTOOL_SUFFIX_PREFIX@
+
+-AR = ar
++AR = @AR@
+ CC = @CC@
+ LIBTOOL = @LIBTOOL@
+ RANLIB = @RANLIB@
diff --git a/app-text/opensp/opensp-1.5.2-r10.ebuild b/app-text/opensp/opensp-1.5.2-r10.ebuild
index 7d8f3f3e0dd1..65d223c63b28 100644
--- a/app-text/opensp/opensp-1.5.2-r10.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r10.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
"${FILESDIR}"/${P}-fix-segfault.patch
"${FILESDIR}"/${P}-c11-using.patch
"${FILESDIR}"/${P}-configure-clang16.patch
+ "${FILESDIR}"/${P}-fix-ar-intl.patch
)
src_prepare() {