pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links add defined check before !empty, to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6978ccaabfea
branches:  trunk
changeset: 525226:6978ccaabfea
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sat Feb 10 15:45:21 2007 +0000

description:
add defined check before !empty, to make bootstrap make happy

diffstat:

 pkgtools/x11-links/xorg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 930fdb131fc3 -r 6978ccaabfea pkgtools/x11-links/xorg.mk
--- a/pkgtools/x11-links/xorg.mk        Sat Feb 10 09:40:52 2007 +0000
+++ b/pkgtools/x11-links/xorg.mk        Sat Feb 10 15:45:21 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.mk,v 1.4 2006/12/15 20:33:00 joerg Exp $
+# $NetBSD: xorg.mk,v 1.5 2007/02/10 15:45:21 tonio Exp $
 #
 # This is for X.org, but use "xfree" files also.
 
@@ -41,7 +41,7 @@
 
 .for _pkg_ in ${BUILDLINK_PACKAGES:Nx11-links}
 IGNORE_PKG.${_pkg_}=   yes
-.  if !empty(IS_BUILTIN.${_pkg_}:M[yY][eE][sS])
+.  if defined(IS_BUILTIN.${_pkg_}) && !empty(IS_BUILTIN.${_pkg_}:M[yY][eE][sS])
 .    if exists(${FILESDIR}/xorg.${_pkg_})
 FILES_LIST+=   ${FILESDIR}/xorg.${_pkg_}
 .    elif exists(${FILESDIR}/xfree.${_pkg_})



Home | Main Index | Thread Index | Old Index