Files
gentoo/net-mail/serialmail/files/serialmail-0.75-respect-AR-RANLIB.patch
Sam James c4922b4a5a net-mail/serialmail: respect AR, CC, RANLIB
Closes: https://bugs.gentoo.org/742743
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
2020-09-16 22:40:31 +00:00

23 lines
560 B
Diff

diff --git a/Makefile b/Makefile
index 4edccea..7530107 100644
--- a/Makefile
+++ b/Makefile
@@ -369,7 +369,7 @@ warn-auto.sh systype
( cat warn-auto.sh; \
echo 'main="$$1"; shift'; \
echo 'rm -f "$$main"'; \
- echo 'ar cr "$$main" $${1+"$$@"}'; \
+ echo '"$(AR)" cr "$$main" $${1+"$$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
@@ -378,7 +378,7 @@ warn-auto.sh systype
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
- *) echo 'ranlib "$$main"' ;; \
+ *) echo '"$(RANLIB)" "$$main"' ;; \
esac \
) > makelib
chmod 755 makelib