summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-05-17 15:08:17 +0000
committerabs <abs@pkgsrc.org>2001-05-17 15:08:17 +0000
commit41ed126f874515f77504d291b2ac4e8f2241abed (patch)
treefb2370006e43407f3d980e11f55c3b6add523760 /mk
parent74dbc5ed422c39a2f91ade9ecdeffee3272c45b3 (diff)
downloadpkgsrc-41ed126f874515f77504d291b2ac4e8f2241abed.tar.gz
Default LOCALBASE to /usr/pkg, and override to /usr/local in Solaris case.
No change in NetBSD case, switches to /usr/pkg in Linux case.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index e0c2d6e61c2..ab096971163 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.35 2001/05/17 15:00:26 abs Exp $
+# $NetBSD: bsd.prefs.mk,v 1.36 2001/05/17 15:08:17 abs Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -200,18 +200,18 @@ SERIAL_DEVICES?= /dev/null
##### Some overrides of defaults below on a per-OS basis.
.if (${OPSYS} == "NetBSD")
-LOCALBASE?= ${DESTDIR}/usr/pkg
PKG_TOOLS_BIN?= /usr/sbin
.elif (${OPSYS} == "SunOS")
+LOCALBASE?= ${DESTDIR}/usr/local
X11BASE?= ${DESTDIR}/usr/openwin
ZOULARISBASE?= ${LOCALBASE}/bsd
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
.elif (${OPSYS} == "Linux")
-ZOULARISBASE?= ${LOCALBASE}/bsd
+ZOULARISBASE?= ${DESTDIR}/usr/local/bsd
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
.endif
-LOCALBASE?= ${DESTDIR}/usr/local
+LOCALBASE?= ${DESTDIR}/usr/pkg
X11BASE?= ${DESTDIR}/usr/X11R6
CROSSBASE?= ${LOCALBASE}/cross