diff options
author | agc <agc@pkgsrc.org> | 2001-11-21 14:10:06 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-11-21 14:10:06 +0000 |
commit | 6dde5fcc79da9f1ca529de6c055df9bee8186f6e (patch) | |
tree | ea08ea08cab31de3fe72a38fcd52ec1ccdbd4c05 /mk/defs.NetBSD.mk | |
parent | beda0b43f8703bc945cd0721d90dbb84b70d2192 (diff) | |
download | pkgsrc-6dde5fcc79da9f1ca529de6c055df9bee8186f6e.tar.gz |
Move some operating-system specific definitions to the individual
defs.${OPSYS}.mk files.
Diffstat (limited to 'mk/defs.NetBSD.mk')
-rw-r--r-- | mk/defs.NetBSD.mk | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 1e1ee95ed09..6ce4e42de7f 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.17 2001/11/21 13:57:31 agc Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.18 2001/11/21 14:10:07 agc Exp $ # # Variable definitions for the NetBSD operating system. @@ -62,12 +62,12 @@ DEPENDS+= user>=20000313:../../sysutils/user .endif .endif -DEF_UMASK?= 0022 +DEF_UMASK?= 0022 MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type MOTIF12_TYPE_DEFAULT?= lesstif12 # default 1.2 compatible libs type -NOLOGIN?= /sbin/nologin - -ROOT_USER?= root +NOLOGIN?= /sbin/nologin +PKG_TOOLS_BIN?= /usr/sbin +ROOT_USER?= root ROOT_GROUP?= wheel _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl @@ -78,3 +78,28 @@ _OPSYS_HAS_OSSAUDIO= yes # libossaudio is available _PATCH_BACKUP_ARG= -b # switch to patch(1) to provide a backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS + +.if (${MACHINE_ARCH} == alpha) +DEFAULT_SERIAL_DEVICE?= /dev/ttyC0 +SERIAL_DEVICES?= /dev/ttyC0 \ + /dev/ttyC1 +.elif (${MACHINE_ARCH} == "i386") +DEFAULT_SERIAL_DEVICE?= /dev/tty00 +SERIAL_DEVICES?= /dev/tty00 \ + /dev/tty01 +.elif (${MACHINE_ARCH} == m68k) +DEFAULT_SERIAL_DEVICE?= /dev/tty00 +SERIAL_DEVICES?= /dev/tty00 \ + /dev/tty01 +.elif (${MACHINE_ARCH} == mipsel) +DEFAULT_SERIAL_DEVICE?= /dev/ttyC0 +SERIAL_DEVICES?= /dev/ttyC0 \ + /dev/ttyC1 +.elif (${MACHINE_ARCH} == "sparc") +DEFAULT_SERIAL_DEVICE?= /dev/ttya +SERIAL_DEVICES?= /dev/ttya \ + /dev/ttyb +.else +DEFAULT_SERIAL_DEVICE?= /dev/null +SERIAL_DEVICES?= /dev/null +.endif |