summaryrefslogtreecommitdiff
path: root/lang/sun-jre15/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-09 03:53:48 +0000
committertv <tv@pkgsrc.org>2004-10-09 03:53:48 +0000
commit54741096bbb3103b91c4271a649c05dabe94b3e5 (patch)
treeb0d6e1bfacba3711723f6ec5725b6e48d21b1106 /lang/sun-jre15/Makefile
parent61fabf5361177c4e2dd16befbba9b05a7649d43b (diff)
downloadpkgsrc-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')
-rw-r--r--lang/sun-jre15/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/sun-jre15/Makefile b/lang/sun-jre15/Makefile
index d4e787ba3b7..904d53ba334 100644
--- a/lang/sun-jre15/Makefile
+++ b/lang/sun-jre15/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2004/10/06 16:44:52 tv Exp $
+# $NetBSD: Makefile,v 1.6 2004/10/09 03:53:48 tv Exp $
# Note: Regen distinfo with SUN_JRE15_USE_JCE=YES
DISTNAME= jre-1_5_0-linux-i586
PKGNAME= sun-jre15-5.0
-PKGREVISION= 2
+PKGREVISION= 3
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) 2 Runtime Environment 1.5.0
@@ -49,8 +49,8 @@ do-configure:
${SED} '/@SUN_JRE15_USE_JCE@/d' ${PKGDIR}/PLIST > ${PLIST_SRC}
.endif
-post-build:
-
+post-extract:
+ @${ULIMIT_CMD_datasize} && cd ${WRKSRC} && bin/java -Xshare:dump
#
# re-create sfiles.mk from properties and config files