pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/defaults Make sure X11_TYPE is defined before check...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/722552b7217f
branches:  trunk
changeset: 522757:722552b7217f
user:      martti <martti%pkgsrc.org@localhost>
date:      Wed Dec 20 07:48:59 2006 +0000

description:
Make sure X11_TYPE is defined before checking it.

diffstat:

 mk/defaults/mk.conf |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7580f3abc77e -r 722552b7217f mk/defaults/mk.conf
--- a/mk/defaults/mk.conf       Wed Dec 20 07:37:39 2006 +0000
+++ b/mk/defaults/mk.conf       Wed Dec 20 07:48:59 2006 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index