summaryrefslogtreecommitdiff
path: root/mk/buildlink3
AgeCommit message (Collapse)AuthorFilesLines
2005-08-10If we need imake, then also pull in any other tools that imake needs tojlam1-4/+5
work.
2005-08-05Hardcode a workaround for perl's DynaLoader.a which is definitely ajlam1-1/+14
PIC code archive, but libtool isn't smart enough to realize it. Munge the name within cmd-sink-libtool into something that will make libtool recognize it as a PIC code archive. We unmunge it in arg-pp-main so non-libtool wrappers see the right thing. This let's us use libtool to link applications with an embedded Perl interpreter. I feel so dirty...
2005-07-19Tools that are marked with ":pkgsrc" are needed very early on, probablyjlam1-3/+4
too early for pkgsrc to adequately cope. In this case, imake-check.mk was marking "imake" as a tool that was used to perform some tests. This was causing xpkgwedge to be unnecessarily marked as a build dependency since using imake in pkgsrc pretty much requires xpkgwedge. However, in the case where we are running the "imake checks", we don't need xpkgwedge around. Solve this issue by marking all the tools in imake-check.mk with ":pkgsrc", and modify the xpkgwedge dependency test to not care about "imake:pkgsrc".
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam3-13/+13
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
2005-06-22We were writing the wrong directory path for the location to thejlam1-2/+2
uninstalled libtool archive in the case where we build it into some place other than the current directory. Older versions of libtool didn't allow you to build a *.la file anywhere other than the current directory, and libtool-fix-la made use of this assumption in libtool's behavior. More recent versions of libtool *do* let you build a *.la file anywhere you'd like, so instead of blindly assuming it's the current directory, use the path to the argument of the -o option. This embeds the proper directory path into the uninstalled libtool archive. This has no impact on packages that just build libtool archives into the current directory. The packages that *are* impacted are the ones that: (1) pkgsrc converted to use libtool, and, (2) build shared libraries that are linked into other things as part of the build, and, (3) builds the libtool archives in some place other than the current directory.
2005-06-20Allow for explicit PREFER.<pkg> settings to override PREFER_NATIVE andjlam1-6/+7
PREFER_PKGSRC.
2005-06-15Avoid generating a blank line as the first command of a target as thatjlam1-1/+2
isn't understood by some make programs, e.g. /usr/ccs/bin/make.
2005-06-03Coalesce the common makefile code in the builtin.mk file that inspectjlam2-0/+167
the X11 distribution using imake into mk/buildlink3/imake-check.mk. imake-check.mk calls out to a helper shell script mk/buildlink3/imake-check that generates the required Imakefiles and runs imake. Remove the now extraneous builtin-imake.mk files as the builtin.mk files can now contain the name of the imake symbol to check.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam4-102/+179
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-24Add BUILTIN_PACKAGES, this will contain all builtin dependencies usedxtraeme1-1/+10
in packages, e.g on my NetBSD system: $ cd pkgsrc/graphics/gimp && make show-var VARNAME=BUILTIN_PACKAGES bzip2 heimdal openssl db1 gettext iconv zlib pthread $ Ok'ed by jlam.
2005-05-24Add a new file find-libs.mk that can be included by builtin.mk filesjlam1-0/+75
to detect the presence of libraries in the base system. The input variable is BUILDLINK_FIND_LIBS, which is a list of library names, e.g. ncurses, iconv, etc., that will be sought in the base system. BUILDLINK_LIB_FOUND.<lib> is set to "yes" or "no" depending on the result of the search. An example use is: BUILDLINK_FIND_LIBS:= intl iconv .include "../../mk/buildlink3/find-libs.mk" # ${BUILDLINK_LIB_FOUND.intl} and ${BUILDLINK_LIB_FOUND.iconv} are now # either "yes" or "no".
2005-05-11Rename MAKE_VARS to MAKEVARS so that it more closely resemblesjlam1-4/+4
"MAKEFLAGS". Both "MAKEVARS" and "MAKEFLAGS" affect the package-level make process, not the software's own make process.
2005-05-09Teach bsd.pkg.mk to create a phase-specific "makevars.mk" file thatjlam1-8/+8
caches variable definitions that were computed by make. These variables are specified by listing them in MAKE_VARS, e.g., .if !defined(FOO) FOO!= very_time_consuming_command .endif MAKE_VARS+= FOO bsd.pkg.mk will include only the one generated during the most recent phase. A particular phase's makevars.mk file consists of variable definitions that are a superset of all of the ones produced in previous phases of the build. The caching is useful because bsd.pkg.mk invokes make recursively, which in the example above has the potential to run the very time-consuming command each time unless we cause FOO to be defined for the sub-make processes. We don't cache via MAKE_FLAGS because MAKE_FLAGS isn't consistently applied to every invocation of make, and also because MAKE_FLAGS can overflow the maximum length of a make variable very quickly if we add many values to it. One important and desirable property of variables cached via MAKE_VARS is that they only apply to the current package, and not to any dependencies whose builds may have been triggered by the current package. The makevars.mk files are generated by new targets fetch-vars, extract-vars, patch-vars, etc., and these targets are built during the corresponding real-* target to ensure that they are being invoked with PKG_PHASE set to the proper value. Also, remove the variables cache file that bsd.wrapper.mk was generating since the new makevars.mk files provide the same functionality at a higher level. Change all WRAPPER_VARS definitions that were used by the old wrapper-phase cache file into MAKE_VARS definitions.
2005-03-24USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mailtv2-51/+7
to tech-pkg: ===== * USE_BUILDLINK3=YES will be unconditional. (In fact, USE_BUILDLINK3 will be ignored altogether by mk/; but see below.) * NO_BUILDLINK and NO_WRAPPER will be ignored by mk/. If a build happens, these phases will happen. * The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER. If no build happens, those phases are not needed. * NO_TOOLS will be ignored by mk/. The tools phase, which provides much more than just the C compiler, will always happen regardless of package. This will make metapackage builds only slightly slower, in trade for far less user error.
2005-02-17Revert previous. This breaks databases/postgresql74-lib for me on NetBSDseb1-3/+1
current.
2005-02-16Add ${BUILDLINK_VARS} to WRAPPER_VARS.seb1-1/+3
Since the bsd.wrapper.mk framework was introduced, hence the removal of BUILDLINK_VARS handling from bsd.buildlink3.mk, none of the variables listed in BUILDLINK_VARS were "cached" in any way.
2005-02-15The libtool wrapper should always do the compiler wrapper transformations,jlam1-1/+7
so move the setting for _WRAP_ARG_PP.LIBTOOL out of conditional areas of bsd.wrapper.mk and set it globally in bsd.buildlink3.mk with the rest of the libtool wrapper variables.
2004-12-01"the the" -> "the"wiz2-5/+5
2004-11-30Modify the way that the toolchain variables, e.g. CC, CPP, CXX, LD, etc.,jlam1-3/+3
are handled. The idea now is to simply remove the paths in the values of these variables, leaving behind only the basename plus any arguments, e.g.: CC= /usr/local/bin/gcc becomes CC= gcc CPP= /usr/local/bin/gcc -E becomes CPP= gcc -E The wrapper scripts are generated for every unique executable mentioned by the toolchain variables, so for the example above, only a "gcc" wrapper script is generated for ${CC} and ${CPP}. PKG_{CC,CPP,CXX,etc.} are the paths to the executables wrapped by the wrapper scripts. Note that it's now possible to set "CC" to something more than just the path to the compiler, e.g. CC= cc -ffast-math -funroll-loops -fomit-frame-pointer and the full value of ${CC} will be passed through via CONFIGURE_ENV and MAKE_ENV.
2004-11-28Remove pre-buildlink and post-buildlink as part of getting pkgsrc readyjlam1-11/+3
for pkgsrc-2004Q4. The "buildlink" phase was removed for the last branch, and this is the final cleanup. "post-buildlink" is now "post-wrapper".
2004-11-17Generalize BUILDLINK_AUTO_LIBS.<pkg> to BUILDLINK_AUTO_VARS.<pkg>,jlam1-19/+20
which is "yes" or "no" for whether the values of any of BUILDLINK_{CPPFLAGS,CFLAGS,LDFLAGS,LIBS}.<pkg> should be appended automatically to their respective variables.
2004-11-17BUILDLINK_AUTO_LIBS.<pkg> is "yes" or "no" for whether BUILDLINK_LIBS.<pkg>jlam1-6/+13
should automatically be appended to LIBS. It defaults to "yes".
2004-11-12Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths.sketch1-7/+7
2004-11-12Add a new variable BUILDLINK_LIBS.<pkg> which contains a list of -l...jlam1-10/+32
options (library options) to be appended automatically to LIBS when building against <pkg>. LIBS is used by GNU configure scripts to note the library options that are automatically added to the link command line.
2004-11-10Allow BUILDLINK_BUILTIN_MK.<pkg> to point to the builtin.mk file for thejlam1-8/+10
specified package. This defaults to the builtin.mk file in the pkgsrc package directory.
2004-10-05Move the "dependency reduction" code from buildlink3 to bsd.pkg.mk sojlam1-55/+2
that all of pkgsrc can benefit from removing redundant dependencies. The code is encapsulated in a new file reduce-depends.mk which is included by bsd.pkg.mk after all dependencies have been specified.
2004-10-04When transforming from ${LOCALBASE} into ${BUILDLINK_DIR}, convertjlam1-9/+15
into the mangled name for ${BUILDLINK_DIR} as an intermediate step, then convert the mangled name into ${BUILDLINK_DIR} at the end. This avoids problems with too many substitutions when ${BUILDLINK_DIR} is a subdirectory of ${LOCALBASE}, as noted in PR pkg/27104.
2004-10-03Don't cache transformations of "-lfoo" into "rel/path/to/libfoo.la" becausejlam1-2/+2
"rel/path/to" can be different each time. This should fix problems with building transcode after the wrapper framework was integrated.
2004-09-30G/C _WRAPPER_SH.LIBTOOL which isn't needed (it's value was beingjlam1-13/+2
overwritten within bsd.wrapper.mk anyway). Also fix up the documentation surrounding that section. From Stoned Elipot in private email.
2004-09-24Teach the libtool wrapper about the "clean" and "uninstall" modes, wherejlam1-4/+7
we don't append the BUIDLINK_LDFLAGS to the commandline.
2004-09-24Create ${BUILDLINK_DIR}/bin for use by packages that need to drop off ajlam1-2/+5
buildlink wrapper for an installed binary or script.
2004-09-22Add a toggle that determines whether we pass extra arguments or not. Thisjlam2-5/+8
is intended to be toggled by a $scan file. Simplify buildlink3 by removing _BLNK_LIBTOOL_LDFLAGS and just setting _WRAP_EXTRA_ARGS.* like all of the other wrappers.
2004-09-21Initial commit of a new wrapper script framework that encapsulatesjlam29-2267/+881
the non-buildlink-related code and moves it out of mk/buildlink3 into mk/wrapper. The buildlink3 code is modified to simply hook its transformations into the wrapper script framework. The wrapper script framework has some new features: * Support automatically passing "ABI" flags to the compiler and linker depending on the value of ${ABI}. Currently supports the SunPro compiler with ${ABI} == 64 and the MIPSPro compiler with ${ABI} as any of 32, n32, o32, and 64. * making UnixWare GCC accept -rpath options and silently converting them into an appropriate LD_RUN_PATH * Add cmd-sink-interix-gcc and cmd-sink-interix-ld that errors out when it sees -fpic/-fPIC and -shared/-Bshareable, respectively (requested by <tv>). * Much improved debugging output. It's possible to output the wrapper work log in-line with normal output by setting WRAPPER_LOG to "stderr". Important differences in behaviour from the old buildlink3 code include: * Only move the -l options to the end of the command line, leaving the -L options in-place. * Extend the autodetection of the libtool mode to detect "compile" and "uninstall". * Fix problem noted in both PR pkg/24760 and PR pkg/25500, where -L/usr/lib/* was being mangled improperly. * Remove the top-level "buildlink" target; instead, make buildlinking occur as part of the "wrapper" target. * mangle and sub-mangle are only meant to transform directories in -I, -L, and rpath options, so remove the lines in buildlink3/gen-transform.sh that transformed bare directories. * Add the ability for the libtool wrapper to be called just to unwrap an existing libtool archive by running: libtool --mode=unwrap -o libfoo.la The old --fix-la syntax no longer works. 20040818 ======== * Initial release of a new wrapper script framework that encapsulates the non-buildlink-related code and moves it out of mk/buildlink3. These features include: * making MIPSpro accept GCC options * making MIPSpro "ucode" accept GCC options * making SunPro accept GCC options * making "ld" accept -Wl,* options and silently removing the "-Wl," * (NEW) making UnixWare GCC accept -rpath options and silently converting them into an appropriate LD_RUN_PATH One major benefit of this is that the buildlink3 code is now much tighter and easier to understand since it concerns itself solely with buildlink-related details. I haven't yet optimized the wrapper cache, so the new wrapper scripts may take slightly longer to execute than the old buildlink3 wrapper scripts, but I'll be improving this over time. 20040821 ======== * Move the inclusion of $cmd_sink outside of the main loop in wrapper.sh so that the $cmd_sink script can be used to globally scan and process the arguments. Move the LD_RUN_PATH code to a cmd-sink-unixware-gcc script. Garbage-collect the now unused export_vars-related code. * Add cmd-sink-aix-xlc for AIX xlc that munges -Wl,-R* into an appropriate -blibpath option. * Add cmd-sink-interix-gcc and cmd-sink-interix-ld that errors out when it sees -fpic/-fPIC and -shared/-Bshareable, respectively (requested by <tv>). * Move the code that converts full paths to shared libraries into the "-Ldir -llib" equivalents from the buildlink3 code into wrapper/logic. Remove the same from bsd.buildlink3.mk and gen-transform.sh. * Move the code that checks for absolute rpaths from the buildlink3 code into wrapper/arg-source. Remove the same from bsd.buildlink3.mk and gen-transform.sh. * Only move the -l options to the end of the command line, leaving the -L options in-place. * Add more debugging code. 20040824 ======== * Fix quoting problems after arguments are transformed. Remove the hack that was inserted that magically made almost everything work because we do it the right way now. * Move the inclusion of $logic outside of the main loop in wrapper.sh so that the $logic script doesn't have to worry about underflowing the argument buffer. * Encapsulate the loop in wrapper.sh that fills the argument buffer entirely within the arg-source script. * Move from the logic script into the arg-source script the transformations that merge or split arguments. * Fix bug where skipargs was effectively being ignored if it was more than 1. * Handle the whitespace in transformations in the logic script that turn one library option into multiple library options, e.g. "-lreadline" -> "-ledit -ltermcap". * Allow you to specify an environment variable WRAPPER_SKIP_TRANSFORM for whether you wish to skip the transformation step in the logic script. This is intended for testing purposes. * Added check_prog() and init_lib() functions to the shell code library to make it more reusable outside of the wrapper framework. * Allow the msg_log() function to output to "stdout" or "stderr". If you want to have all of the logging appear on the screen, then you can now set WRAPPER_LOG=stderr. * Make some of the script components not overridable on a per-wrapper basis. * Add a gen-transform.sh script that generates transformation sedfiles. The "transform" script is used to transform arguments, while the "untransform" script is used to unwrap files. Move the no-rpath logic from buildlink3/gen-transform.sh into wrapper/gen-transform.sh since it's not buildlink3-specific. * Check for a non-empty blibpath before adding the option in cmd-sink-aix-xlc. * Extend the autodetection of the libtool mode to detect "compile" and "uninstall". * Add a cmd-sink-libtool script that doesn't pass linker options to libtool unless we're in "link" mode. * Set _USE_RPATH to "yes" for UnixWare so that the wrappers will see the rpath options and convert them to a LD_RUN_PATH definition. * Add more debugging code. 20040826 ======== * Rewrite buildlink3/gen-transform.sh to produce more precise sed commands. Drop some unused commands from the mini-language, and add a few more that are more restrictive in their scope. * Fix problem where repeated options weren't properly handled by some of sed commands. It's not enough that they're "global replace", since some patterns match separator characters before and after each option. We must repeat those patterns twice to catch all instances correctly. * Fix problem noted in both PR pkg/24760 and PR pkg/25500, where -L/usr/lib/* was being mangled improperly. * Remove the top-level "buildlink" target; instead, make buildlinking occur as part of the "wrapper" target. * Add more debugging code. 20040828 ======== * Added a head_queue function to shell-lib that returns the head of the named queue without popping it off the front of the queue. * Strip consecutive, repeated library options from the command line when we read it in the logic script. * Be more careful about not underflowing the argument buffer. 20040906 ======== * shell-lib was moved into pkgsrc/mk/scripts; correct references to that file in the wrapper code. * Use opt-sub instead of sub-mangle when protecting -I/usr/include/* and -L/usr/lib/* from buildlink transformations. This avoids adding lines that look like "-I-I..." in the transformation sedfiles. * mangle and sub-mangle are only meant to transform directories in -I, -L, and rpath options, so remove the lines in buildlink3/gen-transform.sh that transformed bare directories. * Fix bug in strip-slashdot where the "." wasn't backquoted and thus matched all characters instead of only the "." character. * Change the libtool wrapper to use a modified buildcmd script that doesn't rearrange any of the arguments. This should fix spurious problems where libtool doesn't understand how to parse the command line when the -l options are moved to the end of the argument list. * Fix bug in the logic script where the $cachearg and $cachedarg weren't being properly set at all times, which caused the cache to contain the wrong transformed argument. 20040907 ======== * Support automatically passing "ABI" flags to the compiler and linker depending on the value of ${ABI}. Currently supports the SunPro compiler with ${ABI} == 64 and the MIPSPro compiler with ${ABI} as any of 32, n32, o32, and 64. * Move back the code that splits absolute paths to shared libraries from arg-source back into logic. This allows us to correctly skip splitting those paths based on the previous option. Also add a sanity check that the library name in the split argument doesn't contain a "/" since shell globs are not as precise as REs. * Don't transform the path given after --dynamic-linker (used by GNU ld for ELF linkage). * Add the ability for the libtool wrapper to be called just to unwrap an existing libtool archive by running: libtool --mode=unwrap -o libfoo.la 20040914 ======== * Add a loop in libtool-fix-la to ensure that all of the options listed in the dependency_libs lines of *.lai files are processed. This fixes a buildlink3 leakage bug. * Merge the gen-transform.sh scripts between buildlink3 and wrapper and place them all in wrapper. This makes sense since the commands simply allow for many types of transformations, which buildlink3 takes advantage of, but there is nothing inherently buildlink-ish about those commands. * Don't directly manipulate SUBST_SED.unwrap. Instead, create the value of SUBST_SED.unwrap by combining several other variables (currently just _UNWRAP_SED) to ensure that the correct ordering is preserved. * Correct some confusing debugging messages.
2004-09-08UNBUILDLINK_{PATTERNS,FILES} are actually no more, so garbage-collec themjlam1-6/+4
and update the documentation.
2004-09-07Use UNWRAP_{PATTERNS,FILES} instead of UNBUILDLINK_{PATTERNS,FILES}. Thisjlam1-3/+3
will help to minimize diffs for packages between the forthcoming pkgsrc-2004Q3 branch and the HEAD after the integration of the wrapper script framework.
2004-08-29Fix typo in comment, reported by Ryo HAYASAKA in PR 26797.wiz1-3/+3
2004-08-28Make "rename" a synonym for "S".jlam1-1/+4
2004-08-28Add "rm:opt" as a synonym for "S:opt:", and "rmdir:dir" for "r:dir".jlam1-2/+7
These are supported options from the soon-to-be-committed wrapper framework and are meant to more precisely state the intended transformation. Also just skip over unknown commands instead of generating an error.
2004-08-27Restore a default definition for _BLNK_RPATH_FLAGS lost in previous commit.jlam1-1/+2
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam2-21/+12
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-13Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> sojlam1-2/+2
that the whole pipeline returns 0. This avoids subtle breakage when the we use built-in software and there is actually no list of files passed as input to the pipeline, and the final egrep returns non-zero.
2004-08-13add some quoting to deal with the case where a file in a packagedmcmahill1-10/+10
has a space in the filename. Without the quoting the buildlink stage fails completely with errors. ok'ed by Johnny Lam.
2004-08-10Reorder the transformations in _BLNK_TRANSFORM so that commands tojlam1-14/+14
remove rpath options come first. This fixes problems we may encounter if ${_OPSYS_RPATH_NAME} is something surprising, like "-L". On Darwin, this was causing -L/usr/lib to be stripped out of "-Wl,-L/usr/lib", which left a bare "-Wl," on the command line.
2004-08-10In the rpath transformations, also handle -Wl,@_OPSYS_RPATH_NAME@... injlam1-1/+6
case ${_OPSYS_RPATH_NAME} is something surprising, like "-L".
2004-07-30Update documentation for the current state of buildlink3.jlam1-138/+2
2004-07-29Enable X11_TYPE=xorg now that we have the X.org packages on pkgsrc.xtraeme1-1/+2
2004-07-10explicitly don't transform "-Wl,*", fixing a bug that meant we weregrant1-1/+5
throwing away all -W arguments that weren't -Wl,-R. fixes building of a number of packages on Solaris.
2004-07-04Handle --execute the same way as --install (not modifying the arguments).wiz1-2/+2
Needed to convert inputmethods/xcin to bl3. Idea from jlam.
2004-07-04transform --export-dynamic to -G and strip -fstrict-prototypes.grant2-3/+13
2004-07-03update the cache for -staticgrant1-2/+2