summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-08-29 21:18:18 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-08-29 21:18:18 -0400
commit5e2e67e846e51ab61001df89d3d9233f9f2d7231 (patch)
tree52806c71cf7bb7bae37229b579348b2b72fa0b26
parentx11-plugins/gkwebmon: new EAPI=6 revision that respects LDFLAGS. (diff)
downloadgentoo-5e2e67e846e51ab61001df89d3d9233f9f2d7231.tar.gz
gentoo-5e2e67e846e51ab61001df89d3d9233f9f2d7231.tar.bz2
gentoo-5e2e67e846e51ab61001df89d3d9233f9f2d7231.zip
app-text/convertlit: new revision supporting $(AR).
This new revision adds a trivial patch replacing "ar" in one of the Makefiles with $(AR), which defaults to "ar" anyway. Gentoo-Bug: 571874 Package-Manager: portage-2.2.28
-rw-r--r--app-text/convertlit/convertlit-1.8-r3.ebuild (renamed from app-text/convertlit/convertlit-1.8-r2.ebuild)1
-rw-r--r--app-text/convertlit/files/support-ar-variable.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/app-text/convertlit/convertlit-1.8-r2.ebuild b/app-text/convertlit/convertlit-1.8-r3.ebuild
index 29ada517e90..e984d021594 100644
--- a/app-text/convertlit/convertlit-1.8-r2.ebuild
+++ b/app-text/convertlit/convertlit-1.8-r3.ebuild
@@ -27,6 +27,7 @@ S="${WORKDIR}"
PATCHES=(
"${FILESDIR}/${P}-respectflags-r1.patch"
"${FILESDIR}/fix-Wformat-security-warnings.patch"
+ "${FILESDIR}/support-ar-variable.patch"
)
src_compile() {
diff --git a/app-text/convertlit/files/support-ar-variable.patch b/app-text/convertlit/files/support-ar-variable.patch
new file mode 100644
index 00000000000..4bd3e822f31
--- /dev/null
+++ b/app-text/convertlit/files/support-ar-variable.patch
@@ -0,0 +1,11 @@
+diff --git a/lib/Makefile b/lib/Makefile
+index 9104f27..0c8b197 100644
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -6,5 +6,5 @@ clean:
+
+ openclit.a: litatom.o litdrm.o litlib.o litembiggen.o littags.o litmetatags.o litmanifest.o litdirectory.o litsections.o litheaders.o litutil.o sha/mssha1.o des/des.o newlzx/lzxglue.o newlzx/lzxd.o
+ -rm -f openclit.a
+- ar rv openclit.a $^
++ $(AR) rv openclit.a $^
+