diff options
author | tv <tv@pkgsrc.org> | 2004-10-09 03:53:48 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-09 03:53:48 +0000 |
commit | 54741096bbb3103b91c4271a649c05dabe94b3e5 (patch) | |
tree | b0d6e1bfacba3711723f6ec5725b6e48d21b1106 /lang/sun-jre15/Makefile.common | |
parent | 61fabf5361177c4e2dd16befbba9b05a7649d43b (diff) | |
download | pkgsrc-54741096bbb3103b91c4271a649c05dabe94b3e5.tar.gz |
1. Make the extractor compress the jarfiles. Sun has an annoying tendency
to store (mode-0) all classes in jarfiles, which in practice does *not*
provide any measureable speedup; rather, let's get back some diskspace.
2. Enable the new Class Data Sharing feature by doing a -Xshare:dump at
extract time and installing the resultant classes.jsa.
Diffstat (limited to 'lang/sun-jre15/Makefile.common')
-rw-r--r-- | lang/sun-jre15/Makefile.common | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/sun-jre15/Makefile.common b/lang/sun-jre15/Makefile.common index a07bae744f6..b5846828f01 100644 --- a/lang/sun-jre15/Makefile.common +++ b/lang/sun-jre15/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1.1.1 2004/09/30 22:11:53 rh Exp $ +# $NetBSD: Makefile.common,v 1.2 2004/10/09 03:53:48 tv Exp $ CATEGORIES= lang java EXTRACT_SUFX= .bin @@ -30,6 +30,11 @@ DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11 .endif +# the following forces compression of jarfiles, which is a huge disk +# space win and trivial to no speed reduction in the face of the +# new class sharing in J2SE 5.0... -tvierling +EXTRACT_ENV.bin+= UNPACK200_FLAGS=-Htrue + USE_BUILDLINK3= yes NO_MTREE= yes # since we change PREFIX LDD= ${TRUE} |