diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-03-13 23:06:16 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-03-13 23:06:16 +0800 |
commit | c75ebba576448d2b14807bb61b4f33f8cee11d24 (patch) | |
tree | dd52f70a73ebf0d3a6ecff4ac0dac26b10013152 /java/jdk15/Makefile | |
parent | 16c369950621fe2ab7297fcd128bae2d5c976738 (diff) | |
download | freebsd-ports-gnome-c75ebba576448d2b14807bb61b4f33f8cee11d24.tar.gz freebsd-ports-gnome-c75ebba576448d2b14807bb61b4f33f8cee11d24.tar.zst freebsd-ports-gnome-c75ebba576448d2b14807bb61b4f33f8cee11d24.zip |
Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. This
resolves the following error when starting Mozilla:
LoadPlugin: failed to initialize shared library
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined
symbol "XtShellStrings"]
While I'm here add a tweak to prune empty directories before installing
JDK, so that JDK installed from a pre-built package deinstalls properly.
Bump PORTREVISION.
Diffstat (limited to 'java/jdk15/Makefile')
-rw-r--r-- | java/jdk15/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile index 72c253daa0c0..65a475714caa 100644 --- a/java/jdk15/Makefile +++ b/java/jdk15/Makefile @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk13.html @@ -109,6 +109,13 @@ pre-patch: ${MKDIR} -p hotspot1.3.1/src/os_cpu/bsd_i486/vm && \ ${PATCH} < ${WRKDIR}/jdk131.patches +post-build: + # Prune empty dirs + ${FIND} ${JDKIMAGEDIR} -type d | /usr/bin/sort -r | \ + ${XARGS} ${RMDIR} 2> /dev/null || ${TRUE} + ${FIND} ${JDKIMAGEDIR_G} -type d | /usr/bin/sort -r | \ + ${XARGS} ${RMDIR} 2> /dev/null || ${TRUE} + .if !defined(NODEBUG) pre-install: @${ECHO_MSG} @@ -127,7 +134,7 @@ do-install: .endif post-install: - ${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" + @${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" .if !defined(WITHOUT_PLUGIN) @${ECHO_MSG} @${ECHO_MSG} The use the Java plugin with Mozilla you must create a |