summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2021-04-21 16:00:13 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2021-04-21 16:02:52 +0300
commitd30a7db82744709b7ad01828b15e4787318848aa (patch)
tree96c08d9f06c390413f59ef93307d8c8ac390d71a /media-libs/svgalib
parentwww-client/seamonkey: av1 support requires >=dev-lang/nasm-2.13 to build (diff)
downloadgentoo-d30a7db82744709b7ad01828b15e4787318848aa.tar.gz
gentoo-d30a7db82744709b7ad01828b15e4787318848aa.tar.bz2
gentoo-d30a7db82744709b7ad01828b15e4787318848aa.zip
media-libs/svgalib: use $AR if set
Closes: https://bugs.gentoo.org/724714 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.25-ar.patch12
-rw-r--r--media-libs/svgalib/svgalib-1.9.25-r8.ebuild3
2 files changed, 14 insertions, 1 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.25-ar.patch b/media-libs/svgalib/files/svgalib-1.9.25-ar.patch
new file mode 100644
index 000000000000..1f48481f7814
--- /dev/null
+++ b/media-libs/svgalib/files/svgalib-1.9.25-ar.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/724714
+--- svgalib-1.9.25/Makefile.cfg.orig 2021-04-21 15:27:13.000000000 +0300
++++ svgalib-1.9.25/Makefile.cfg 2021-04-21 15:47:57.152922480 +0300
+@@ -318,7 +318,7 @@
+ DLLFLAGS = -fPIC -DPIC
+
+ # Utilites used.
+-AR = ar
++AR ?= ar
+ INSTALL_PROGRAM = install -m755
+ INSTALL_SCRIPT = install -m755
+ INSTALL_SHLIB = install -m755
diff --git a/media-libs/svgalib/svgalib-1.9.25-r8.ebuild b/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
index 55f0bb10ddab..87dea240053f 100644
--- a/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -31,6 +31,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.9.25-linux_3.9.patch
"${FILESDIR}"/${PN}-1.9.25-no-man-compression.patch
"${FILESDIR}"/${PN}-1.9.25-wrapdemo-buf-overflow.patch
+ "${FILESDIR}"/${PN}-1.9.25-ar.patch
)
pkg_setup() {