aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-06-29 00:02:48 +0800
committerpav <pav@FreeBSD.org>2007-06-29 00:02:48 +0800
commitf712329ce3db0c07c94cba24191b50f3a006ff9f (patch)
tree1adce6f452f75f87841bb0adf56b9b3708a1a3f5 /Mk/bsd.gnome.mk
parent8580e9571b78b3050ae659ba3b5a5d769d43395f (diff)
downloadfreebsd-ports-graphics-f712329ce3db0c07c94cba24191b50f3a006ff9f.tar.gz
freebsd-ports-graphics-f712329ce3db0c07c94cba24191b50f3a006ff9f.tar.zst
freebsd-ports-graphics-f712329ce3db0c07c94cba24191b50f3a006ff9f.zip
- Speed up dependency lookup
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> Tested by: pointyhat exprun
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 bc2d88ab262..c91fe8f767f 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)