Subject: pkg/23682: PATCH pkgsrc/mk/bsd.pkg.mk for Solaris (PKGSRC_MESSAGE_RECIPIENTS)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <charlie@rubberduck.com>
List: netbsd-bugs
Date: 12/07/2003 14:43:33
>Number: 23682
>Category: pkg
>Synopsis: fix PKGSRC_MESSAGE_RECIPIENTS for Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 07 03:44:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Charlie Allom
>Release: NetBSD 1.6ZF
>Organization:
charlie@rubberduck.com - Melbourne, Australia
http://rubberduck.com/~yeled/
PGP: 0x14AA7941 || finger yeled@lazy.spodder.com
>Environment:
System: NetBSD lazy 1.6ZF NetBSD 1.6ZF (GENERIC.MP) #0: Sun Nov 23 01:07:23 EST 2003 root@backspace:/usr/obj/sys/arch/i386/compile.i386/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
/bin/mail on Solaris does not accept -s"foo", but mailx does.
Lucky for us, our /usr/bin/mail is linked to mailx also.
>How-To-Repeat:
>Fix:
patch..
--- bsd.pkg.mk.old 2003-12-07 14:39:02.000000000 +1100
+++ bsd.pkg.mk 2003-12-07 14:39:14.000000000 +1100
@@ -2672,7 +2672,7 @@
${ECHO} ""; \
${CAT} ${MESSAGE}; \
${ECHO} "") | \
- mail -s"Package ${PKGNAME} installed" ${PKGSRC_MESSAGE_RECIPIENTS}
+ mailx -s"Package ${PKGNAME} installed" ${PKGSRC_MESSAGE_RECIPIENTS}
. endif
.endif
.if !defined(NO_PKG_REGISTER)
>Release-Note:
>Audit-Trail:
>Unformatted: