From dbe96685d2285cdfc2735b01fb6dc4c894ba6121 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 11 Mar 2004 00:47:01 +0000 Subject: Don't cat nonexistent files during the build. --- pkgtools/x11-links/xfree.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgtools/x11-links') diff --git a/pkgtools/x11-links/xfree.mk b/pkgtools/x11-links/xfree.mk index 4c5226aba6c..265b131b4af 100644 --- a/pkgtools/x11-links/xfree.mk +++ b/pkgtools/x11-links/xfree.mk @@ -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 @@ FILES_LIST= ${FILESDIR}/xfree 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 -- cgit v1.2.3