summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-27 01:49:15 +0000
committertv <tv@pkgsrc.org>2004-04-27 01:49:15 +0000
commitfe3d504d5e67afa5f3109fb92e0b019c308f2bb5 (patch)
treea914c41268461613770718e48b0af67d3e019570 /mk
parentf05329c78260c92e8a7f1141f4d5fced891d4638 (diff)
downloadpkgsrc-fe3d504d5e67afa5f3109fb92e0b019c308f2bb5.tar.gz
Interix now has user(8) emulation; use it.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.Interix.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk
index eb47c6c328f..d8211f0fab3 100644
--- a/mk/defs.Interix.mk
+++ b/mk/defs.Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.16 2004/04/25 13:52:53 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.17 2004/04/27 01:49:15 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -77,9 +77,12 @@ TYPE?= type # Shell builtin
WC?= /bin/wc
XARGS?= /bin/xargs
-# XXXTV
-USERADD?= ${FALSE}
-GROUPADD?= ${FALSE}
+USERADD?= ${LOCALBASE}/sbin/useradd
+GROUPADD?= ${LOCALBASE}/sbin/groupadd
+_PKG_USER_HOME?=# empty by default
+.if defined(USE_USERADD) || defined(USE_GROUPADD)
+DEPENDS+= user>=20040426:../../sysutils/user_interix
+.endif
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 002
@@ -87,7 +90,7 @@ EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
MOTIF12_TYPE_DEFAULT?= lesstif12 # default 1.2 compatible libs type
-NOLOGIN?= /sbin/nologin
+NOLOGIN?= /bin/false
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
PKGDIRMODE?= 775
ROOT_CMD?= ${SU} - ${ROOT_USER} -c