aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/linux-sun-jdk14/Makefile8
-rw-r--r--java/linux-sun-jdk14/pkg-message5
2 files changed, 8 insertions, 5 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index b48a4569b449..e8732749f10f 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -43,15 +43,13 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${INSTALL_JDK_VERSION:R}
.include <bsd.port.pre.mk>
-#.BEGIN:
-# @${ECHO} "******** WARNING ********"
-# @${ECHO} "This JDK is currently unstable, especially when run as a non-root user. You are advised to use either the Sun JDK 1.3 for Linux (${PORTSDIR}/java/linux-sun-jdk13) or the FreeBSD JDK 1.3 (${PORTSDIR}/java/jdk13) instead."
-# @${ECHO}
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=You must manually fetch the J2SE v1.4 SDK Linux GNUZIP Tar shell script (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
+pre-everything:
+ @${CAT} ${PKGMESSAGE}
+
post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}
diff --git a/java/linux-sun-jdk14/pkg-message b/java/linux-sun-jdk14/pkg-message
new file mode 100644
index 000000000000..e9ddfb22fe71
--- /dev/null
+++ b/java/linux-sun-jdk14/pkg-message
@@ -0,0 +1,5 @@
+Warning: This JDK is currently unstable, especially if not run as root.
+
+You are advised to use either of the following JDK ports instead:
+o Sun JDK 1.3 for Linux (java/linux-sun-jdk13)
+o FreeBSD JDK 1.3 (java/jdk13)