pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba when running ${TYPE} mktemp... redirect stde...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50bdb0d67412
branches:  trunk
changeset: 462750:50bdb0d67412
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 11 11:42:11 2003 +0000

description:
when running ${TYPE} mktemp... redirect stderr to stdout, avoiding
spurious output.

fixes PR pkg/22814 from Rob Quinn.

diffstat:

 net/samba/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 95cb4fa4cc5a -r 50bdb0d67412 net/samba/Makefile
--- a/net/samba/Makefile        Sat Oct 11 11:28:44 2003 +0000
+++ b/net/samba/Makefile        Sat Oct 11 11:42:11 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2003/09/14 22:25:25 jlam Exp $
+# $NetBSD: Makefile,v 1.104 2003/10/11 11:42:11 grant Exp $
 
 .include "Makefile.common"
 PKGREVISION=           4
@@ -65,12 +65,12 @@
 OWN_DIRS_PERMS=                ${SAMBA_PRIVATE} ${ROOT_USER} ${ROOT_GROUP} 0500
 
 .if !defined(MKTEMP)
-MKTEMP!=       ${TYPE} mktemp | \
+MKTEMP!=       ${TYPE} mktemp 2>&1 | \
                ${AWK} '/not found/ { print "mktemp"; exit } { print $$3 }'
 MAKEFLAGS+=    MKTEMP="${MKTEMP}"
 .endif
 .if !defined(PWD_MKDB)
-PWD_MKDB!=     ${TYPE} pwd_mkdb | \
+PWD_MKDB!=     ${TYPE} pwd_mkdb 2>&1 | \
                ${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }'
 MAKEFLAGS+=    PWD_MKDB="${PWD_MKDB}"
 .endif



Home | Main Index | Thread Index | Old Index