summaryrefslogtreecommitdiff
path: root/lang/jdk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-02-11 04:23:14 +0000
committerjlam <jlam@pkgsrc.org>2003-02-11 04:23:14 +0000
commit30d00c3cf8fd192f0833d80589ce4e90fb40aa58 (patch)
tree06ecb0351c8cb607140865610dbe12a2ea13bf73 /lang/jdk
parent495cb83400b8097adb4cac51d745bf9b07dcc4c0 (diff)
downloadpkgsrc-30d00c3cf8fd192f0833d80589ce4e90fb40aa58.tar.gz
Bump PKGREVISIONs for:
lang/blackdown-jdk13 lang/jdk lang/sun-jdk13 lang/sun-jdk14 Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper JDK hierarchy is found. This addresses PR 20269 by Todd Vierling <tv at pobox dot com>. This makes misc/openoffice-linux find the Java2 installation again.
Diffstat (limited to 'lang/jdk')
-rw-r--r--lang/jdk/Makefile5
-rw-r--r--lang/jdk/PLIST4
2 files changed, 6 insertions, 3 deletions
diff --git a/lang/jdk/Makefile b/lang/jdk/Makefile
index 763a59cd564..ebda1cfa8eb 100644
--- a/lang/jdk/Makefile
+++ b/lang/jdk/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.31 2003/02/03 23:48:07 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2003/02/11 04:23:14 jlam Exp $
#
VERSION= 1.1.8
PKGNAME= jdk-${VERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/java/i386/${VERSION}/ \
ftp://ftp.de.netbsd.org/pub/NetBSD/misc/java/i386/${VERSION}/
@@ -81,6 +81,7 @@ pre-install:
${LN} -s $$X.${VERSION} $$X; \
fi ; \
done)
+ ${LN} -sf . ${WRKSRC}/jre
.endif
do-install:
diff --git a/lang/jdk/PLIST b/lang/jdk/PLIST
index 27ddd92ef7d..24319eaddd9 100644
--- a/lang/jdk/PLIST
+++ b/lang/jdk/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/02/03 23:48:08 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2003/02/11 04:23:14 jlam Exp $
CHANGES
COPYRIGHT
LICENSE
@@ -463,6 +463,8 @@ include/verify.h
include/wrap.h
include/zip.h
index.html
+@exec ${LN} -sf . %D/jre
+@unexec ${RM} -f %D/jre
lib/appletviewer.properties.default
lib/awt.properties.default
lib/classes.zip