summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-08-26 18:55:43 +0000
committerschwarz <schwarz>2006-08-26 18:55:43 +0000
commitfdf210eff07f2d0836940c13e959dcdb2d9fa1b3 (patch)
tree918d099bbb664b35f5071d07ae1a8d8bd90111d9 /mk
parent91d950f6fc0969d8c801506f9603ecd62a95ec44 (diff)
downloadpkgsrc-fdf210eff07f2d0836940c13e959dcdb2d9fa1b3.tar.gz
X11_TYPE being undefined cannot occur thanks to the preceeding line
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index acb805f47e0..9157327be28 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.231 2006/07/27 21:46:45 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.232 2006/08/26 18:55:43 schwarz Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -362,7 +362,7 @@ USE_INET6= NO
LOCALBASE?= ${DESTDIR}/usr/pkg
X11_TYPE?= native
-.if !defined(X11_TYPE) || defined(X11_TYPE) && !empty(X11_TYPE:Mnative)
+.if !empty(X11_TYPE:Mnative)
. if ${OPSYS} == "SunOS"
# On Solaris, we default to using OpenWindows for X11.
X11BASE?= ${DESTDIR}/usr/openwin