summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-04 09:33:10 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-04 09:33:10 +0000
commit57109ef648d37f6cd68edcb38a4425466758ec39 (patch)
tree09bddbe5247ed924ad10fd20fe39a7aea82fbe48 /Mk
parentRemove USE_LINUXJDK and simplify set_soenv even more. Use native threads (diff)
Fix a bug in detecting USE_GNOME components properly.
Notes
Notes: svn path=/head/; revision=78153
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 377cafbe9505..b4c9b283b7c6 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -486,7 +486,8 @@ _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component}
# Then traverse through all components, check which of them
# exist in ${_USE_GNOME} and set variables accordingly
. for component in ${_USE_GNOME_ALL}
-. if ${_USE_GNOME:M${component}}==${component}
+_COMP_TEST= ${_USE_GNOME:M${component}}
+. if ${_COMP_TEST:S/${component}//}!=${_COMP_TEST:S/ / /g}
BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS}
LIB_DEPENDS+= ${${component}_LIB_DEPENDS}
RUN_DEPENDS+= ${${component}_RUN_DEPENDS}