summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-11 11:42:11 +0000
committergrant <grant@pkgsrc.org>2003-10-11 11:42:11 +0000
commit0f425a09cb89c8961da1ae1fcb349e620f1d8e19 (patch)
treea0d87ed39e61b6f70278b24e8a92e6de122f46fc /net
parenteb11c34025fe957bfc0af0d22d1ad3e574a25e4e (diff)
downloadpkgsrc-0f425a09cb89c8961da1ae1fcb349e620f1d8e19.tar.gz
when running ${TYPE} mktemp... redirect stderr to stdout, avoiding
spurious output. fixes PR pkg/22814 from Rob Quinn.
Diffstat (limited to 'net')
-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