. Update to 7u4. This was a fairly significant merge, so please report

any regressions in functionality that might have been missed.  Biggest
  news is that partial BSD support is now in the official source
  distribution through the OS X port's inclusion.

  Partly obtained from Kurt Miller <kurt@intricatesoftware.com>
This commit is contained in:
Greg Lewis 2012-05-27 18:48:14 +00:00
parent 48a68c896c
commit c36dec0373
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297552
5 changed files with 4832 additions and 31593 deletions

View file

@ -6,10 +6,9 @@
#
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER}
PORTREVISION= 1
PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_BUILD_NUMBER}
CATEGORIES= java devel
MASTER_SITES= http://download.java.net/openjdk/jdk7u2/promoted/b${JDK_BUILD_NUMBER}/ \
MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \
http://download.java.net/jaxp/1.4.5/:jaxp \
http://icedtea.classpath.org/download/drops/:jaxp \
http://download.java.net/glassfish/components/jax-ws/openjdk/jdk7/:jaxws \
@ -39,11 +38,9 @@ OPTIONS= POLICY "Install the Unlimited Strength Policy Files" on \
TZUPDATE "Update the time zone data" on
JDK_MAJOR_VERSION= 7
JDK_MINOR_VERSION= 2
PORT_MINOR_VERSION= 3
JDK_BUILD_NUMBER= 13
PORT_BUILD_NUMBER= 04
JDK_BUILD_DATE= 17_nov_2011
JDK_MINOR_VERSION= 4
JDK_BUILD_NUMBER= 22
JDK_BUILD_DATE= 02_may_2012
JDK_SRC_DISTFILE= ${PORTNAME}-${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}-fcs-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD_DATE}
# Use our own version of ant to avoid circular dependencies
@ -135,22 +132,6 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/diablo-jdk1.6.0
BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk16
.endif
post-extract:
@for dir in `${FIND} ${WRKSRC} -name '*[Ll][Ii][Nn][Uu][Xx]*' -type d`; do \
${MKDIR} `echo $$dir | ${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g'`; \
for subdir in `${FIND} $$dir -type d`; do \
${MKDIR} `echo $$subdir | ${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g'`; \
done; \
for file in `${FIND} $$dir -type f`; do \
newfile=`echo $$file | ${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g'`; \
${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g' $$file > $$newfile; \
done; \
done
@for file in `${FIND} ${WRKSRC} -name '*[Ll][Ii][Nn][Uu][Xx]*' -type f | ${GREP} -v '\/[^/]*[Ll][Ii][Nn][Uu][Xx][^/]*\/'`; do \
newfile=`echo $$file | ${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g'`; \
${SED} -e 's/linux/bsd/g' -e 's/Linux/Bsd/g' -e 's/LINUX/BSD/g' $$file > $$newfile; \
done
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp

View file

@ -1,5 +1,5 @@
SHA256 (openjdk-7u2-fcs-src-b13-17_nov_2011.zip) = 6b13dde9efb0a8d6cd4d909239d633657c2aeef8f6ba806465d0cc691d681841
SIZE (openjdk-7u2-fcs-src-b13-17_nov_2011.zip) = 87754846
SHA256 (openjdk-7u4-fcs-src-b22-02_may_2012.zip) = ed89f8e21c18bf2ff6e6711a351d06b08961a22f3dae6f8c9b4d3683b172a1af
SIZE (openjdk-7u4-fcs-src-b22-02_may_2012.zip) = 97155994
SHA256 (jaxp145_01.zip) = c5924c6188988e2e8397ee5143bd8eaa062569d052567afd2ac9326a54a848cb
SIZE (jaxp145_01.zip) = 6389175
SHA256 (jdk7-jaxws2_2_4-b04-2011_06_01.zip) = 6a8734d37553103da47715ebd74077d5397cae4730775b09fa2ab679650aa824

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff