From 0bf0602c01d66ca98d3e31eb5e8af54f2cf6dd97 Mon Sep 17 00:00:00 2001 From: martti Date: Wed, 20 Dec 2006 07:48:59 +0000 Subject: Make sure X11_TYPE is defined before checking it. --- mk/defaults/mk.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/defaults/mk.conf') 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 -- cgit v1.2.3