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
PATCHES=(
"${FILESDIR}/${P}-respectflags-r1.patch"
"${FILESDIR}/fix-Wformat-security-warnings.patch"
+ "${FILESDIR}/support-ar-variable.patch"
)
src_compile() {
--- /dev/null
+diff --git a/lib/Makefile b/lib/Makefile
+index 9104f27..0c8b197 100644
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -6,5 +6,5 @@ clean:
+ \r
+ 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\r
+ -rm -f openclit.a\r
+- ar rv openclit.a $^\r
++ $(AR) rv openclit.a $^\r
+ \r