summaryrefslogtreecommitdiff
path: root/net/ja-samba
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-03 22:54:44 +0000
committerjlam <jlam@pkgsrc.org>2005-06-03 22:54:44 +0000
commitc55f2fb31985d8271fc8194f2f72db9fb106cf01 (patch)
tree4c6644b89c16942f91bbcf6d43651ec7f43e1e22 /net/ja-samba
parentdd2b1cf65395f28808e4c0030c35322ca8e438e0 (diff)
downloadpkgsrc-c55f2fb31985d8271fc8194f2f72db9fb106cf01.tar.gz
Teach the tools framework about mktemp. Replace explicit tests for
mktemp with USE_TOOLS+=mktemp in the samba packages.
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 }'