summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-27 08:38:09 +0000
committerjlam <jlam@pkgsrc.org>2004-12-27 08:38:09 +0000
commit25b0d4a59c944ac586f7164ddbfc8e4f512ceaee (patch)
tree20c4b8554f587cd87d2de83f7e0a08800ffb5f70 /mk
parentee27a664aac7aaa37dfd9a2e82a92d487d0ba149 (diff)
downloadpkgsrc-25b0d4a59c944ac586f7164ddbfc8e4f512ceaee.tar.gz
OpenBSD uses the NetBSD user/group management tools, so re-add back
support for USERADD/GROUPADD on OpenBSD.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/OpenBSD.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/OpenBSD.mk b/mk/platform/OpenBSD.mk
index 466b6c9361a..0449a80adb9 100644
--- a/mk/platform/OpenBSD.mk
+++ b/mk/platform/OpenBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: OpenBSD.mk,v 1.8 2004/12/27 06:41:50 jlam Exp $
+# $NetBSD: OpenBSD.mk,v 1.9 2004/12/27 08:38:09 jlam Exp $
#
# Variable definitions for the OpenBSD operating system.
@@ -78,6 +78,11 @@ TYPE?= type # Shell builtin
WC?= /usr/bin/wc
XARGS?= /usr/bin/xargs
+.if exists(/usr/sbin/user)
+USERADD?= /usr/sbin/useradd
+GROUPADD?= /usr/sbin/groupadd
+.endif
+
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 0022
.if ${OBJECT_FMT} == "ELF"