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
commit05cce146f3ed5d2ff5da46a5e38622f31d759af3 (patch)
tree92522de19eecc5b60fc8346be7d9e53d5ff76e49 /pkgtools/x11-links
parentde9a48935ba7db91ae2e5e3b79d424b5958983fb (diff)
downloadpkgsrc-05cce146f3ed5d2ff5da46a5e38622f31d759af3.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