summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-06-08 21:21:05 +0000
committertron <tron@pkgsrc.org>2001-06-08 21:21:05 +0000
commite23961c2503a2f0796d0ba2da50237c6bb06e5dc (patch)
treed906b9f60a07440342ddf3f2e080efe6c88d15a0 /mk/bsd.prefs.mk
parentfb677bbe9c4b307b24287057713bb3deb8bd1521 (diff)
downloadpkgsrc-e23961c2503a2f0796d0ba2da50237c6bb06e5dc.tar.gz
Define "HAVE_OPENWINDOWS" if we are using OpenWindows as X11 distribution
under Solaris.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index eff8eebcdf0..e9a5c3cae4e 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.37 2001/06/07 15:17:08 tron Exp $
+# $NetBSD: bsd.prefs.mk,v 1.38 2001/06/08 21:21:05 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -208,6 +208,11 @@ PKG_TOOLS_BIN?= /usr/sbin
LOCALBASE?= ${DESTDIR}/usr/local
ZOULARISBASE?= ${LOCALBASE}/bsd
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