summaryrefslogtreecommitdiff
path: root/mk/defaults
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2006-12-20 07:48:59 +0000
committermartti <martti@pkgsrc.org>2006-12-20 07:48:59 +0000
commit0bf0602c01d66ca98d3e31eb5e8af54f2cf6dd97 (patch)
treee2c11595294f7f5f204bc86ffffce06c305931c6 /mk/defaults
parentc8693590e8355e2bb256077e698cfe7974c988be (diff)
downloadpkgsrc-0bf0602c01d66ca98d3e31eb5e8af54f2cf6dd97.tar.gz
Make sure X11_TYPE is defined before checking it.
Diffstat (limited to 'mk/defaults')
-rw-r--r--mk/defaults/mk.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index f05349c672d..121fcfd63b7 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.140 2006/12/20 01:04:46 joerg Exp $
+# $NetBSD: mk.conf,v 1.141 2006/12/20 07:48:59 martti Exp $
#
# This file provides default values for variables that may be overridden
@@ -236,7 +236,7 @@ PKGMANDIR?= man
# Default: man (i.e. /usr/pkg/man)
# NOTE: the support for custom setting (not "man") is not complete.
-.if ${X11_TYPE} == "modular"
+.if defined(X11_TYPE) && ${X11_TYPE} == "modular"
USE_XPKGWEDGE?= no
.else
USE_XPKGWEDGE?= yes