diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-09-13 22:49:38 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-09-13 22:49:38 +0000 |
commit | 741b3d1feb106169ea6734a294fd4e7f91433d6e (patch) | |
tree | bba41115df2e1b9bb776f3482c2a5b954f2c6301 /java | |
parent | The gcc32 port builds again -- so hook it up to the build. (diff) |
Now properly using pkg-message to display warning about
stability of this port.
Notes
Notes:
svn path=/head/; revision=66282
Diffstat (limited to 'java')
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 8 | ||||
-rw-r--r-- | java/linux-sun-jdk14/pkg-message | 5 |
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) |