summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-11 00:47:01 +0000
committerjlam <jlam@pkgsrc.org>2004-03-11 00:47:01 +0000
commitdbe96685d2285cdfc2735b01fb6dc4c894ba6121 (patch)
tree92522de19eecc5b60fc8346be7d9e53d5ff76e49 /pkgtools/x11-links
parent35781d303553639e14afc20fcec771b9f4213722 (diff)
downloadpkgsrc-dbe96685d2285cdfc2735b01fb6dc4c894ba6121.tar.gz
Don't cat nonexistent files during the build.
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r--pkgtools/x11-links/xfree.mk5
1 files changed, 3 insertions, 2 deletions
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