diff options
author | pav <pav@FreeBSD.org> | 2007-06-29 00:02:48 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-06-29 00:02:48 +0800 |
commit | f712329ce3db0c07c94cba24191b50f3a006ff9f (patch) | |
tree | 1adce6f452f75f87841bb0adf56b9b3708a1a3f5 /Mk | |
parent | 8580e9571b78b3050ae659ba3b5a5d769d43395f (diff) | |
download | freebsd-ports-gnome-f712329ce3db0c07c94cba24191b50f3a006ff9f.tar.gz freebsd-ports-gnome-f712329ce3db0c07c94cba24191b50f3a006ff9f.tar.zst freebsd-ports-gnome-f712329ce3db0c07c94cba24191b50f3a006ff9f.zip |
- Speed up dependency lookup
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Tested by: pointyhat exprun
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 5 |
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) |