summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-11-21 14:10:06 +0000
committeragc <agc@pkgsrc.org>2001-11-21 14:10:06 +0000
commit6dde5fcc79da9f1ca529de6c055df9bee8186f6e (patch)
treeea08ea08cab31de3fe72a38fcd52ec1ccdbd4c05 /mk/bsd.prefs.mk
parentbeda0b43f8703bc945cd0721d90dbb84b70d2192 (diff)
downloadpkgsrc-6dde5fcc79da9f1ca529de6c055df9bee8186f6e.tar.gz
Move some operating-system specific definitions to the individual
defs.${OPSYS}.mk files.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk78
1 files changed, 1 insertions, 77 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 1b12b12831a..a5c5719ded3 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.63 2001/11/04 19:49:56 agc Exp $
+# $NetBSD: bsd.prefs.mk,v 1.64 2001/11/21 14:10:06 agc Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -250,82 +250,6 @@ NEED_NCURSES= YES
# recursive dependency problems!)
.endif # USE_CURSES
-
-#
-# list of serial port devices commonly found on various machines and
-# which is the common default one. This is used for semi-reasonable
-# defaults on different machines. These can and should be overridden
-# on your machine in /etc/mk.conf.
-# Please help fill in the list.
-.if (${OPSYS} == "NetBSD")
-.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 # ${MACHINE_ARCH}
-.else # ${OPSYS} != "NetBSD"
-DEFAULT_SERIAL_DEVICE?= /dev/null
-SERIAL_DEVICES?= /dev/null
-.endif # ${OPSYS} == "NetBSD"
-
-##### Some overrides of defaults below on a per-OS basis.
-.if (${OPSYS} == "NetBSD")
-PKG_TOOLS_BIN?= /usr/sbin
-.elif (${OPSYS} == "SunOS")
-# Migration aid for old /usr/local LOCALBASE on Solaris
-. if !defined(LOCALBASE) && exists(${DESTDIR}/usr/local/libexec/cgi-bin) && \
- !exists(${DESTDIR}/usr/pkg/libexec/cgi-bin)
-.BEGIN:
- @echo "On Solaris and /usr/local/libexec/cgi-bin found:"
- @echo "- If you have an existing pkgsrc installation & wish to continue"
- @echo " using /usr/local, append LOCALBASE=/usr/local to /etc/mk.conf."
- @echo "- Otherwise set LOCALBASE=/usr/pkg in your environment for the"
- @echo " first package install."
- @false
-. endif
-# end of migration aid
-LOCALBASE?= ${DESTDIR}/usr/pkg
-. if !defined(ZOULARISBASE)
-. if exists(${LOCALBASE}/bsd)
-ZOULARISBASE:= ${LOCALBASE}/bsd
-. else
-ZOULARISBASE:= ${LOCALBASE}
-. endif
-. endif
-PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
-
-. if (${X11BASE} == "/usr/openwin")
-HAVE_OPENWINDOWS= YES
-. endif
-
-.elif (${OPSYS} == "Linux")
-ZOULARISBASE?= ${DESTDIR}/usr/local/bsd
-PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
-
-.elif (${OPSYS} == "Darwin")
-ZOULARISBASE?= ${DESTDIR}/usr/pkg
-PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin
-.endif
-
LOCALBASE?= ${DESTDIR}/usr/pkg
X11BASE?= ${DESTDIR}/usr/X11R6
CROSSBASE?= ${LOCALBASE}/cross