pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links Don't cat nonexistent files during ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e49feca78302
branches:  trunk
changeset: 470630:e49feca78302
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Mar 11 00:47:01 2004 +0000

description:
Don't cat nonexistent files during the build.

diffstat:

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

diffs (19 lines):

diff -r cb0018938b49 -r e49feca78302 pkgtools/x11-links/xfree.mk
--- a/pkgtools/x11-links/xfree.mk       Thu Mar 11 00:26:29 2004 +0000
+++ b/pkgtools/x11-links/xfree.mk       Thu Mar 11 00:47:01 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xfree.mk,v 1.8 2004/03/10 18:35:32 jlam Exp $
+# $NetBSD: xfree.mk,v 1.9 2004/03/11 00:47:01 jlam Exp $
 
 FILES_LIST=    ${FILESDIR}/xfree
 
@@ -22,7 +22,8 @@
 CHECK_BUILTIN.${_module_}=     yes
 .  if exists(${BUILDLINK_PKGSRCDIR.${_module_}}/builtin.mk)
 .    include "${BUILDLINK_PKGSRCDIR.${_module_}}/builtin.mk"
-.    if !empty(IS_BUILTIN.${_module_}:M[yY][eE][sS])
+.    if !empty(IS_BUILTIN.${_module_}:M[yY][eE][sS]) && \
+        exists(${FILESDIR}/xfree.${_module_})
 FILES_LIST+=   ${FILESDIR}/xfree.${_module_}
 .    endif
 .  endif



Home | Main Index | Thread Index | Old Index