summaryrefslogtreecommitdiff
path: root/net/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/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/samba')
-rw-r--r--net/samba/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 3a96931ad01..588c8f9f95c 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.141 2005/05/22 05:35:33 jlam Exp $
+# $NetBSD: Makefile,v 1.142 2005/06/03 22:54:44 jlam Exp $
DISTNAME= samba-3.0.10
PKGREVISION= 2
@@ -64,11 +64,11 @@ CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
.include "options.mk"
-.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 }'