summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-06-07 15:17:08 +0000
committertron <tron@pkgsrc.org>2001-06-07 15:17:08 +0000
commit2785edcf1ba37ce90a6a475ee9c3b9007849d57a (patch)
tree3ce0b79bec8e762c592187096d86e69b69d3b5f6 /mk/bsd.prefs.mk
parentcf6e61598f87323bf0dfce527b25584bc3e1b20b (diff)
downloadpkgsrc-2785edcf1ba37ce90a6a475ee9c3b9007849d57a.tar.gz
Set "X11BASE" much earlier under Solaris to get "USE_MESA" and "USE_XPM"
working if "X11BASE" is not set by the user.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index ab096971163..eff8eebcdf0 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.36 2001/05/17 15:08:17 abs Exp $
+# $NetBSD: bsd.prefs.mk,v 1.37 2001/06/07 15:17:08 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -55,6 +55,9 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
+
+# We need to set this early to get "USE_MESA" and "USE_XPM" working.
+X11BASE?= ${DESTDIR}/usr/openwin
.elif ${OPSYS} == "Linux"
LOWER_OPSYS?= linux
. if ${MACHINE_ARCH} == "unknown"
@@ -203,7 +206,6 @@ SERIAL_DEVICES?= /dev/null
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")