aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2009-04-08 20:26:24 +0800
committerbsam <bsam@FreeBSD.org>2009-04-08 20:26:24 +0800
commitd017c7c16b629efcffa67c27b3d936fd0e3a85f6 (patch)
tree622cdd9d652531b1ea674dc61a1a419a25a34f3a /Mk
parent7aff1ad83553769fb3e95c7cb48813157e00e57f (diff)
downloadfreebsd-ports-gnome-d017c7c16b629efcffa67c27b3d936fd0e3a85f6.tar.gz
freebsd-ports-gnome-d017c7c16b629efcffa67c27b3d936fd0e3a85f6.tar.zst
freebsd-ports-gnome-d017c7c16b629efcffa67c27b3d936fd0e3a85f6.zip
Don't add RUN_DEPENDS if there is no corresponding file for the component.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.linux-apps.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.linux-apps.mk b/Mk/bsd.linux-apps.mk
index da24fc0b7e50..09d7e79810ff 100644
--- a/Mk/bsd.linux-apps.mk
+++ b/Mk/bsd.linux-apps.mk
@@ -425,7 +425,9 @@ _USE_LINUX_APPS+=${${component}_DEPENDS} ${component}
# Set dependencies for _USE_LINUX_APPS which exists at _LINUX_APPS_ALL
. for component in ${_LINUX_APPS_ALL}
. if ${_USE_LINUX_APPS:M${component}}!=""
+. if defined(${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE)
RUN_DEPENDS+= ${${component}_DETECT}:${${component}_PORT}
+. endif
. endif
. endfor
.endif