summaryrefslogtreecommitdiff
path: root/net/ja-samba
diff options
context:
space:
mode:
Diffstat (limited to 'net/ja-samba')
-rw-r--r--net/ja-samba/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ja-samba/Makefile b/net/ja-samba/Makefile
index 56b96b31369..3a0b4daffcf 100644
--- a/net/ja-samba/Makefile
+++ b/net/ja-samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/04/11 21:46:48 tv Exp $
+# $NetBSD: Makefile,v 1.35 2005/06/03 22:54:44 jlam Exp $
.include "Makefile.common"
@@ -52,11 +52,11 @@ RCD_SCRIPTS= samba nmbd smbd
OWN_DIRS= ${SAMBA_ETCDIR} ${SAMBA_LOCKDIR}
OWN_DIRS_PERMS= ${SAMBA_PRIVATE} ${ROOT_USER} ${ROOT_GROUP} 0500
-.if !defined(MKTEMP)
-MKTEMP!= ${TYPE} mktemp 2>&1 | \
- ${AWK} '/not found/ { print "mktemp"; exit } { print $$3 }'
-MAKEFLAGS+= MKTEMP=${MKTEMP:Q}
-.endif
+# mktemp is useful for the replacement adduser script, but don't require
+# a full dependency since it's not actually needed by samba.
+#
+USE_TOOLS+= mktemp
+
.if !defined(PWD_MKDB)
PWD_MKDB!= ${TYPE} pwd_mkdb 2>&1 | \
${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }'