pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk X11_TYPE being undefined cannot occur thanks to the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd67926bf992
branches:  trunk
changeset: 517948:fd67926bf992
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sat Aug 26 18:55:43 2006 +0000

description:
X11_TYPE being undefined cannot occur thanks to the preceeding line

diffstat:

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

diffs (18 lines):

diff -r 57656017a4c7 -r fd67926bf992 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Sat Aug 26 18:35:33 2006 +0000
+++ b/mk/bsd.prefs.mk   Sat Aug 26 18:55:43 2006 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index