diff options
author | jlam <jlam> | 2002-12-22 19:02:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-12-22 19:02:43 +0000 |
commit | 88a1ddb43dc52c91cb2ee63bdbcc1212a68f52ff (patch) | |
tree | d810fff0b2bba973326f3623cd87f02062726744 /mk/buildlink2/pre-cache | |
parent | 688d9b547b16e088e0c000a9467a2977e366f993 (diff) | |
download | pkgsrc-88a1ddb43dc52c91cb2ee63bdbcc1212a68f52ff.tar.gz |
The buildlink2 problems on non-NetBSD platform seem to be related to
correct manipulation of variables containing values with escaped
metacharacters by the shell. The new code only does partial caching, which
doesn't cache "special" arguments that contain escaped metacharacters or
other oddly quoted values. On certain platforms listed in _BLNK_CACHE_ALL
in bsd.buildlink2.mk, we do full caching, which has enormous speed benefits
since it avoids an extra sed invocation per "special" argument.
Known working platforms:
MacOS X 10.1.5 (schmonz)
MacOS X 10.2 (grant)
NetBSD 1.6 [full caching] (jlam)
OpenBSD (cjep)
Solaris 8 (grant)
Solaris 9 (salo)
Diffstat (limited to 'mk/buildlink2/pre-cache')
-rw-r--r-- | mk/buildlink2/pre-cache | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/buildlink2/pre-cache b/mk/buildlink2/pre-cache index 9b530ab0174..0247abdc193 100644 --- a/mk/buildlink2/pre-cache +++ b/mk/buildlink2/pre-cache @@ -1,7 +1,10 @@ -# $NetBSD: pre-cache,v 1.5 2002/10/31 22:14:09 jlam Exp $ +# $NetBSD: pre-cache,v 1.6 2002/12/22 19:02:45 jlam Exp $ + +quotedarg=no +addtocache=no case $arg in -[IL]@WRKDIR@*|-[IL]@BUILDLINK_DIR@*|-[IL]@BUILDLINK_X11_DIR@*) ;; --[IL].|-[IL]./..*|-[IL]..*) +-[IL].|-[IL]./*|-[IL]..*) ;; |