diff options
author | tv <tv> | 2004-10-09 04:19:10 +0000 |
---|---|---|
committer | tv <tv> | 2004-10-09 04:19:10 +0000 |
commit | 9cbb7ec27d46f20887faa47a094cfe2c7743566b (patch) | |
tree | b1178d5a4d0b53b1b4ce5fea98d427ad1cdae70b /lang/sun-jre15/Makefile | |
parent | 9840ee2e91343ace6e6297de0949329f0aacb127 (diff) | |
download | pkgsrc-9cbb7ec27d46f20887faa47a094cfe2c7743566b.tar.gz |
Class Data Sharing, while fast, is apparently also touchy. Do the
classes.jsa generation at the last possible moment, in the INSTALL script.
(Somewhere in the generated file is a hash of the pathname used to generate
it, and -Xshare:on failed with the classes.jsa generated in the build tree.)
Diffstat (limited to 'lang/sun-jre15/Makefile')
-rw-r--r-- | lang/sun-jre15/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/sun-jre15/Makefile b/lang/sun-jre15/Makefile index 904d53ba334..e97f09533d0 100644 --- a/lang/sun-jre15/Makefile +++ b/lang/sun-jre15/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.6 2004/10/09 03:53:48 tv Exp $ +# $NetBSD: Makefile,v 1.7 2004/10/09 04:19:10 tv Exp $ # Note: Regen distinfo with SUN_JRE15_USE_JCE=YES DISTNAME= jre-1_5_0-linux-i586 PKGNAME= sun-jre15-5.0 -PKGREVISION= 3 +PKGREVISION= 4 MASTER_SITES= # empty COMMENT= Sun's Java(tm) 2 Runtime Environment 1.5.0 @@ -26,10 +26,14 @@ SUPPORT_FILES= # empty .for FILE in ${SFILES} SUPPORT_FILES+= ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE} .endfor -HEADER_EXTRA_TMPL=${WRKDIR}/HEADER.tmpl .include "../../mk/bsd.prefs.mk" +HEADER_EXTRA_TMPL= ${WRKDIR}/HEADER.tmpl +INSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL.tmpl +DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL.tmpl +FILES_SUBST+= JAVA_HOME=${JAVA_HOME:Q} + BUILD_DEFS+= SUN_JRE15_USE_JCE PLIST_SRC= ${WRKDIR}/PLIST @@ -49,9 +53,6 @@ do-configure: ${SED} '/@SUN_JRE15_USE_JCE@/d' ${PKGDIR}/PLIST > ${PLIST_SRC} .endif -post-extract: - @${ULIMIT_CMD_datasize} && cd ${WRKSRC} && bin/java -Xshare:dump - # # re-create sfiles.mk from properties and config files # |