diff options
author | obache <obache@pkgsrc.org> | 2014-05-18 09:45:40 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-05-18 09:45:40 +0000 |
commit | 2eae12af79088e70fc636b38610cca1747cb8e0d (patch) | |
tree | 2eed6931b7603e974addb715d9504d84bcd2d937 /mk/platform | |
parent | a388f3f58a4c40c6e7bcdc75a1c6ead14d9c07fc (diff) | |
download | pkgsrc-2eae12af79088e70fc636b38610cca1747cb8e0d.tar.gz |
Haiku has groupadd now.
noticed by diger in pkgsrc-users@.
While here, enable useradd only for the case groupadd exists,
because former useradd is interactive command, not usable with pkgsrc framework.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Haiku.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/platform/Haiku.mk b/mk/platform/Haiku.mk index 25bc334553b..c14bde5d9c1 100644 --- a/mk/platform/Haiku.mk +++ b/mk/platform/Haiku.mk @@ -1,4 +1,4 @@ -# $NetBSD: Haiku.mk,v 1.10 2014/05/18 07:56:21 obache Exp $ +# $NetBSD: Haiku.mk,v 1.11 2014/05/18 09:45:40 obache Exp $ # # Variable definitions for the Haiku operating system. @@ -18,7 +18,6 @@ CPP_PRECOMP_FLAGS?= # unset DEF_UMASK?= 022 DEFAULT_SERIAL_DEVICE?= /dev/tty EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table -#GROUPADD?= /bin/groupadd MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type NOLOGIN?= /bin/false PKG_TOOLS_BIN?= ${LOCALBASE}/sbin @@ -29,7 +28,10 @@ SERIAL_DEVICES?= /dev/tty ULIMIT_CMD_datasize?= : ULIMIT_CMD_stacksize?= : ULIMIT_CMD_memorysize?= : +.if exists(/bin/groupadd) USERADD?= /bin/useradd +GROUPADD?= /bin/groupadd +.endif _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib _OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib |