summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2001-06-08 21:21:05 +0000
committertron <tron>2001-06-08 21:21:05 +0000
commitbacc8413487bbca771b7201d0cc67eb5e072f3e2 (patch)
treed906b9f60a07440342ddf3f2e080efe6c88d15a0
parentc0edc98b502db44c8afd21371edf93bba962cdca (diff)
downloadpkgsrc-bacc8413487bbca771b7201d0cc67eb5e072f3e2.tar.gz
Define "HAVE_OPENWINDOWS" if we are using OpenWindows as X11 distribution
under Solaris.
-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