aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-28 16:02:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-28 16:02:48 +0000
commit8afd9b3727d89a0dd17f2e22619b4f9d5e441d16 (patch)
tree6339a9dd0796421c01b2921ed4f9f5336bbe7598 /Mk/bsd.gnome.mk
parented612087de5b61c3c667827089dcb6e2de5b6538 (diff)
- Speed up dependency lookup
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> Tested by: pointyhat exprun
Notes
Notes: svn path=/head/; revision=194397
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index bc2d88ab262b..c91fe8f767f2 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -689,9 +689,9 @@ ltverhack_PRE_PATCH+= for file in gnome-ltmain.sh gnome-libtool; do \
# Then traverse through all components, check which of them
# exist in ${_USE_GNOME} and set variables accordingly
+.ifdef _USE_GNOME
. for component in ${_USE_GNOME_ALL}
-_COMP_TEST= ${_USE_GNOME:M${component}}
-. if ${_COMP_TEST:S/${component}//}!=${_COMP_TEST:S/ / /g}
+. if ${_USE_GNOME:M${component}}!=""
PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS}
FETCH_DEPENDS+= ${${component}_FETCH_DEPENDS}
EXTRACT_DEPENDS+=${${component}_EXTRACT_DEPENDS}
@@ -726,6 +726,7 @@ GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH}
. endif
. endfor
.endif
+.endif
.if defined(GNOME_PRE_PATCH)