pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mailsend mailsend: don't use $(SHELL), execute it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db175214035e
branches:  trunk
changeset: 316198:db175214035e
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Dec 07 17:34:57 2018 +0000

description:
mailsend: don't use $(SHELL), execute it from #!/bin/sh

$(SHELL) might not be a compatible shell. PR pkg/53766

diffstat:

 mail/mailsend/distinfo                  |   3 ++-
 mail/mailsend/patches/patch-Makefile.in |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r edf2c162ef20 -r db175214035e mail/mailsend/distinfo
--- a/mail/mailsend/distinfo    Fri Dec 07 17:15:58 2018 +0000
+++ b/mail/mailsend/distinfo    Fri Dec 07 17:34:57 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/07/17 16:09:38 jperkin Exp $
+$NetBSD: distinfo,v 1.2 2018/12/07 17:34:57 maya Exp $
 
 SHA1 (mailsend-1.19.tar.gz) = 6a86890244ada27e5be03155e8c01b7e2948ff5e
 RMD160 (mailsend-1.19.tar.gz) = b7146e77d11471a28e47a408532c0b2ffd3067b2
 SHA512 (mailsend-1.19.tar.gz) = e9640c2fb63d50d7db092c1f3cab0613c969901629e9cbf79c974e70fec582fa88eecf3ba0dbe74259fe53568f29efcdd07daf3593d26c9710b660d0cef55038
 Size (mailsend-1.19.tar.gz) = 447647 bytes
+SHA1 (patch-Makefile.in) = 017cf81d63550e53be6861362d5689305f7db89a
diff -r edf2c162ef20 -r db175214035e mail/mailsend/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mailsend/patches/patch-Makefile.in   Fri Dec 07 17:34:57 2018 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/12/07 17:34:57 maya Exp $
+
+If we specify $(SHELL), it might be an incompatible shell like tcsh.
+Let the hash-bang in mkinstalldirs (#!/bin/sh) pick out a shell.
+
+--- Makefile.in.orig   2016-05-17 17:31:15.000000000 +0000
++++ Makefile.in
+@@ -71,8 +71,8 @@ install-man:
+       $(INSTALL_DATA) $(MANPAGE) $(MAN1DIR)
+ 
+ installdirs:
+-      $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
+-      $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
++      ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
++      ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
+ 
+ deb:
+       @ruby ./mk_debian_package.rb



Home | Main Index | Thread Index | Old Index