pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Introduce command MAIL. It will be used to send mes...
details: https://anonhg.NetBSD.org/pkgsrc/rev/854addcf84bc
branches: trunk
changeset: 464868:854addcf84bc
user: heinz <heinz%pkgsrc.org@localhost>
date: Tue Dec 16 23:07:42 2003 +0000
description:
Introduce command MAIL. It will be used to send messages like this:
echo "message" | ${MAIL} -s"subject" add@ress.example
diffstat:
mk/defs.AIX.mk | 3 ++-
mk/defs.BSDOS.mk | 3 ++-
mk/defs.Darwin.mk | 3 ++-
mk/defs.FreeBSD.mk | 3 ++-
mk/defs.IRIX.mk | 3 ++-
mk/defs.Linux.mk | 7 ++++++-
mk/defs.NetBSD.mk | 3 ++-
mk/defs.OpenBSD.mk | 3 ++-
mk/defs.SunOS.mk | 3 ++-
9 files changed, 22 insertions(+), 9 deletions(-)
diffs (157 lines):
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.AIX.mk
--- a/mk/defs.AIX.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.AIX.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.AIX.mk,v 1.2 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.AIX.mk,v 1.3 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the AIX operating system.
@@ -56,6 +56,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mailx
MKDIR?= /bin/mkdir -p
MTREE?= ${LOCALBASE}/sbin/mtree
MV?= /bin/mv
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.BSDOS.mk
--- a/mk/defs.BSDOS.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.BSDOS.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.BSDOS.mk,v 1.3 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.BSDOS.mk,v 1.4 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the BSD/OS operating system.
@@ -48,6 +48,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mail
MKDIR?= /bin/mkdir -p
.if exists(${LOCALBASE}/sbin/mtree)
MTREE?= ${LOCALBASE}/sbin/mtree
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.Darwin.mk
--- a/mk/defs.Darwin.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.Darwin.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.63 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.Darwin.mk,v 1.64 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the Darwin operating system.
@@ -38,6 +38,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mail
MKDIR?= /bin/mkdir -p
MTREE?= /usr/sbin/mtree
MV?= /bin/mv
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.FreeBSD.mk
--- a/mk/defs.FreeBSD.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.FreeBSD.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.FreeBSD.mk,v 1.27 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.FreeBSD.mk,v 1.28 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -41,6 +41,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mail
MKDIR?= /bin/mkdir -p
.if exists(${LOCALBASE}/sbin/mtree)
MTREE?= ${LOCALBASE}/sbin/mtree
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.IRIX.mk
--- a/mk/defs.IRIX.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.IRIX.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.IRIX.mk,v 1.38 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.IRIX.mk,v 1.39 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the IRIX operating system.
@@ -46,6 +46,7 @@
LN?= /sbin/ln
LS?= /sbin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/sbin/mailx
MKDIR?= /sbin/mkdir -p
.if exists(${LOCALBASE}/sbin/mtree)
MTREE?= ${LOCALBASE}/sbin/mtree
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.Linux.mk
--- a/mk/defs.Linux.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.Linux.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.62 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.Linux.mk,v 1.63 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the Linux operating system.
@@ -74,6 +74,11 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+.if exists(/bin/mail)
+MAIL?= /bin/mail # RH, Mandrake
+.else
+MAIL?= /usr/bin/mail # Debian, Slackware, SuSE
+.endif
MKDIR?= /bin/mkdir -p
MTREE?= ${LOCALBASE}/sbin/mtree
MV?= /bin/mv
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.NetBSD.mk
--- a/mk/defs.NetBSD.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.NetBSD.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.57 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.58 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -43,6 +43,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mail
MKDIR?= /bin/mkdir -p
MTREE?= /usr/sbin/mtree
MV?= /bin/mv
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.OpenBSD.mk
--- a/mk/defs.OpenBSD.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.OpenBSD.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.26 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.27 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the OpenBSD operating system.
@@ -39,6 +39,7 @@
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
+MAIL?= /usr/bin/mail
MKDIR?= /bin/mkdir -p
MTREE?= /usr/sbin/mtree
MV?= /bin/mv
diff -r c5ba497e2662 -r 854addcf84bc mk/defs.SunOS.mk
--- a/mk/defs.SunOS.mk Tue Dec 16 22:54:13 2003 +0000
+++ b/mk/defs.SunOS.mk Tue Dec 16 23:07:42 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.73 2003/12/16 22:54:13 heinz Exp $
+# $NetBSD: defs.SunOS.mk,v 1.74 2003/12/16 23:07:42 heinz Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -47,6 +47,7 @@
LN?= /usr/bin/ln
LS?= /usr/bin/ls
M4?= /usr/ccs/bin/m4
+MAIL?= /usr/bin/mailx
MKDIR?= /usr/bin/mkdir -p
.if exists(${LOCALBASE}/sbin/mtree)
MTREE?= ${LOCALBASE}/sbin/mtree
Home |
Main Index |
Thread Index |
Old Index