aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-ibm-jdk14
diff options
context:
space:
mode:
Diffstat (limited to 'java/linux-ibm-jdk14')
-rw-r--r--java/linux-ibm-jdk14/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/linux-ibm-jdk14/Makefile b/java/linux-ibm-jdk14/Makefile
index aa07c205a41b..c45b1fff51db 100644
--- a/java/linux-ibm-jdk14/Makefile
+++ b/java/linux-ibm-jdk14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java
PKGNAMEPREFIX= linux-ibm-
DISTNAME= IBMJava2-SDK-${JDK_VERSION:S/.//g}
@@ -18,8 +18,7 @@ COMMENT= IBM Java Development Kit 1.4 for Linux
FORBIDDEN= Vulnerabilities in the browser plugin
-RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper \
- ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFree86-libs
+RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
WRKSRC= ${WRKDIR}/${DISTNAME:S/-SDK//}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
@@ -28,6 +27,8 @@ PLIST_SUB+= PORTREVISION=${PORTREVISION}
NO_BUILD= yes
USE_REINPLACE= yes
+USE_LINUX= yes
+USE_XLIB= yes
JDK_VERSION= 1.4.2
ONLY_FOR_ARCHS= i386 amd64
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
@@ -54,6 +55,8 @@ post-patch:
${REINPLACE_CMD} -e "s:%%APP_HOME%%:${APP_HOME}:g" ${WRKSRC}/bin/java-rmi.cgi
@${RM} -f ${WRKSRC}/bin/java-rmi.cgi.*
+# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
+
do-install:
${MKDIR} ${APP_HOME}
cd ${WRKSRC} && ${FIND} . \