pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr Use /bin/echo on Darwin, as the built...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1f82b757204
branches:  trunk
changeset: 651746:b1f82b757204
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun May 10 19:20:09 2015 +0000

description:
Use /bin/echo on Darwin, as the builtin does not have the -n option.
Bump version.
Patch from Jason White in PR pkg/49724.

diffstat:

 pkgtools/rc.subr/Makefile      |  4 ++--
 pkgtools/rc.subr/files/rc.subr |  5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 62387e270cec -r b1f82b757204 pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Sun May 10 18:50:47 2015 +0000
+++ b/pkgtools/rc.subr/Makefile Sun May 10 19:20:09 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2014/06/04 14:16:00 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2015/05/10 19:20:09 bsiegert Exp $
 #
 
-PKGNAME=               rc.subr-20140604
+PKGNAME=               rc.subr-20150510
 CATEGORIES=            pkgtools
 
 MAINTAINER=            sbd%NetBSD.org@localhost
diff -r 62387e270cec -r b1f82b757204 pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr    Sun May 10 18:50:47 2015 +0000
+++ b/pkgtools/rc.subr/files/rc.subr    Sun May 10 19:20:09 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.11 2014/06/04 14:16:00 ryoon Exp $
+# $NetBSD: rc.subr,v 1.12 2015/05/10 19:20:09 bsiegert Exp $
 #
 # Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -67,6 +67,9 @@
 _osname=$(uname -s)
 _osrelease=$(uname -r)
 case $_osname in
+       Darwin)
+               _RCCMD_echo="/bin/echo"
+               ;;
        SunOS)
                _RCCMD_chown="/bin/chown"
 #              _RCCMD_ci="/usr/bin/ci"                 # not in Solaris 9



Home | Main Index | Thread Index | Old Index