summaryrefslogtreecommitdiff
path: root/mk/platform/FreeBSD.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-27 06:41:50 +0000
committerjlam <jlam>2004-12-27 06:41:50 +0000
commit53928d553f452e466b27ebe287cc4dce6ad1b47f (patch)
tree652a8b6305260ff589456126c6b6ddc26201c1e8 /mk/platform/FreeBSD.mk
parent3684a7a8fec3def61abe4aa076560097494a0268 (diff)
downloadpkgsrc-53928d553f452e466b27ebe287cc4dce6ad1b47f.tar.gz
Remove USERADD and GROUPADD definitions from OSes where the useradd
and groupadd commands won't follow the calling conventions of the NetBSD useradd/groupadd. Modify the INSTALL scripts to *never* create users or groups if there is no available ${USERADD} or ${GROUPADD} command, but will warn the user of users and groups that need to be created before the package can be installed.
Diffstat (limited to 'mk/platform/FreeBSD.mk')
-rw-r--r--mk/platform/FreeBSD.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk
index a3370cf7ab1..e1a3b3c5307 100644
--- a/mk/platform/FreeBSD.mk
+++ b/mk/platform/FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: FreeBSD.mk,v 1.4 2004/11/16 18:04:00 tv Exp $
+# $NetBSD: FreeBSD.mk,v 1.5 2004/12/27 06:41:50 jlam Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -87,15 +87,6 @@ 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
-.else
-USERADD?= ${LOCALBASE}/sbin/useradd
-GROUPADD?= ${LOCALBASE}/sbin/groupadd
-_USER_DEPENDS= user>=20000313:../../sysutils/user
-.endif
-
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 0022
.if ${OBJECT_FMT} == "ELF"