pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links avoid a malformed conditional with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4870af80288
branches:  trunk
changeset: 510059:a4870af80288
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Thu Mar 23 13:46:31 2006 +0000

description:
avoid a malformed conditional with the make on netbsd-2.

diffstat:

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

diffs (18 lines):

diff -r 140797334637 -r a4870af80288 pkgtools/x11-links/xfree.mk
--- a/pkgtools/x11-links/xfree.mk       Thu Mar 23 13:41:41 2006 +0000
+++ b/pkgtools/x11-links/xfree.mk       Thu Mar 23 13:46:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xfree.mk,v 1.12 2005/10/16 08:57:30 seb Exp $
+# $NetBSD: xfree.mk,v 1.13 2006/03/23 13:46:31 dmcmahill Exp $
 
 FILES_LIST=    ${FILESDIR}/xfree
 
@@ -27,7 +27,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]) ) && \
       exists(${FILESDIR}/xfree.${_pkg_})
 FILES_LIST+=   ${FILESDIR}/xfree.${_pkg_}
 .  endif



Home | Main Index | Thread Index | Old Index