summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2003-10-11 11:42:11 +0000
committergrant <grant>2003-10-11 11:42:11 +0000
commit116ace57f3155f64439153ef49e49c816a85020d (patch)
treea0d87ed39e61b6f70278b24e8a92e6de122f46fc
parent90adfa84cc935e5c38b958d5452f97d97fc3e715 (diff)
downloadpkgsrc-116ace57f3155f64439153ef49e49c816a85020d.tar.gz
when running ${TYPE} mktemp... redirect stderr to stdout, avoiding
spurious output. fixes PR pkg/22814 from Rob Quinn.
-rw-r--r--net/samba/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index a526861df4a..bc85b422d1b 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -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= ${SAMBA_ETCDIR} ${SAMBA_LOCKDIR}
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