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
This commit is contained in:
Michael Orlitzky
2016-08-29 21:18:18 -04:00
parent 46dd8d7362
commit 5e2e67e846
2 changed files with 12 additions and 0 deletions

View File

@@ -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() {

View File

@@ -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 $^