diff options
author | glewis <glewis@FreeBSD.org> | 2005-12-15 00:52:32 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-12-15 00:52:32 +0800 |
commit | 95b6bd58d3e25a1445cf62f355791123496aca62 (patch) | |
tree | 41f50d2b207f5a2cdf65157b8b32d609f454dfaa /java/jdk14 | |
parent | 39365705fe0e9d4d9f749d447ecb455ae84ace43 (diff) | |
download | freebsd-ports-gnome-95b6bd58d3e25a1445cf62f355791123496aca62.tar.gz freebsd-ports-gnome-95b6bd58d3e25a1445cf62f355791123496aca62.tar.zst freebsd-ports-gnome-95b6bd58d3e25a1445cf62f355791123496aca62.zip |
. Tell the user all the files they will need up front, instead of telling
lies about what they have and prompting them one file at a time. This
is a slight rewording of the submitted patch.
PR: 84644
Submitted by: fenner
Diffstat (limited to 'java/jdk14')
-rw-r--r-- | java/jdk14/Makefile | 64 |
1 files changed, 31 insertions, 33 deletions
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile index 590e853377b8..7366be75027b 100644 --- a/java/jdk14/Makefile +++ b/java/jdk14/Makefile @@ -147,42 +147,40 @@ PTHREAD_FILES= ../../hotspot/build/bsd/makefiles/vm.make \ LD_LIBRARY_PATH_FILES= ../../hotspot/src/os/bsd/vm/os_bsd.cpp -# Check for JDK sources -.if !exists(${DISTDIR}/${SCSL_SRCFILE}) && !defined(PACKAGE_BUILDING) +# Check for JDK sources and patch file +.if !defined(PACKAGE_BUILDING) && (!exists(${DISTDIR}/${SCSL_SRCFILE}) || !exists(${DISTDIR}/${SCSL_BINFILE}) || !exists(${DISTDIR}/${PATCHSETFILE}))#{ ECHO_MSG=/usr/bin/printf IGNORE= :\n\ -Because of licensing restrictions, you must fetch the source distribution\n\ -manually. Please access http://www.sun.com/software/java2/download.html\n\ -with a web browser and follow the \"Download\" link for the\n\ -\"Java(TM) SDK ${JDK_VERSION}\". You will be required to log in and register,\n\ +Due to licensing restrictions, certain files must be fetched manually.\n\n +.if !exists(${DISTDIR}/${SCSL_SRCFILE}) || !exists(${DISTDIR}/${SCSL_BINFILE})#{ +IGNORE += Please open http://www.sun.com/software/java2/download.html\n\ +in a web browser and follow the \"Download\" link for the\n\ +\"Java 2 SDK ${JDK_VERSION}\". You will be required to log in and register,\n\ but you can create an account on this page. After registration and\n\ -accepting the Sun Community Source License, select \"J2SESDK\" and\n\ -download the source file, ${SCSL_SRCFILE}. Please place this file in\n\ -${DISTDIR}.\n -.endif -.if !exists(${DISTDIR}/${SCSL_BINFILE}) && !defined(PACKAGE_BUILDING) -ECHO_MSG=/usr/bin/printf -IGNORE= :\n\ -Because of licensing restrictions, you must fetch the source distribution\n\ -manually. Please access http://www.sun.com/software/java2/download.html\n\ -with a web browser and follow the \"Download\" link for the\n\ -\"Java(TM) SDK ${JDK_VERSION}\". You will be required to log in and register,\n\ -but you can create an account on this page. After registration and\n\ -accepting the Sun Community Source License, select \"J2SESDK\" and\n\ -download the source file, ${SCSL_BINFILE}. Please place this file in\n\ -${DISTDIR}.\n -.endif - -# Check for patchset -.if !exists(${DISTDIR}/${PATCHSETFILE}) && !defined(PACKAGE_BUILDING) -ECHO_MSG=/usr/bin/printf -IGNORE= :\n\ -The source distribution exists on your system, but due to\n\ -licensing restrictions you still need to download the\n\ -patchset, ${PATCHSETFILE}, from\n\ -http://www.eyesbeyond.com/freebsddom/java/jdk14.html.\n\ -Please place the patchset in ${DISTDIR}.\n -.endif +accepting the Sun Community Source License, download the\n +.if !exists(${DISTDIR}/${SCSL_SRCFILE})#{ +IGNORE += SCSL Source file, ${SCSL_SRCFILE} +.endif#} +.if !exists(${DISTDIR}/${SCSL_BINFILE})#{ +.if !exists(${DISTDIR}/${SCSL_SRCFILE})#{ +IGNORE += and the\n +.endif#} +IGNORE += SCSL Binaries file, ${SCSL_BINFILE} +.endif#} +IGNORE += .\n\n +.if !exists(${DISTDIR}/${PATCHSETFILE})#{ +IGNORE += In addition, please +.endif#} +.elif !exists(${DISTDIR}/${PATCHSETFILE}) +IGNORE += Please +.endif#} +.if !exists(${DISTDIR}/${PATCHSETFILE})#{ +IGNORE += download the patchset, ${PATCHSETFILE}, from\n\ +http://www.eyesbeyond.com/freebsddom/java/jdk14.html.\n\n +.endif#} +IGNORE += Please place the downloaded file(s) in ${DISTDIR} +IGNORE += \n and restart the build.\n\n +.endif#} # JDK 1.4.2 require recent version of FreeBSD due to recent libc_r updates. # Make check for reqiuired primities as early as possible |