diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2019-02-09 07:16:04 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2019-02-09 07:16:04 +0000 |
commit | d82ababf17003a15fc9134099c145119e9fcb016 (patch) | |
tree | 525dd0d3743f66c6575dd247a8ad10d751268ac5 /java/openjdk8 | |
parent | 7d49a9498ef862e00add8955a6b31c2eac399bde (diff) | |
download | ports-d82ababf17003a15fc9134099c145119e9fcb016.tar.gz ports-d82ababf17003a15fc9134099c145119e9fcb016.zip |
Notes
Diffstat (limited to 'java/openjdk8')
-rw-r--r-- | java/openjdk8/Makefile | 2 | ||||
-rw-r--r-- | java/openjdk8/files/patch-endian | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index a028e4a0e1e0..f52e8aef91f9 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -2,7 +2,7 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER:S/^0//} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}/promoted/b${DIST_BUILD_NUMBER}/:jdk \ https://adopt-openjdk.ci.cloudbees.com/job/jtreg/${JTREG_JENKINS_BUILD}/artifact/:jtreg \ diff --git a/java/openjdk8/files/patch-endian b/java/openjdk8/files/patch-endian new file mode 100644 index 000000000000..1c67bf2c877c --- /dev/null +++ b/java/openjdk8/files/patch-endian @@ -0,0 +1,44 @@ +--- common/autoconf/flags.m4 Fri Feb 08 17:57:16 2019 -0800 ++++ common/autoconf/flags.m4 Fri Feb 08 22:49:40 2019 -0800 +@@ -548,6 +548,9 @@ + else + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN" + fi ++ if test "x$OPENJDK_TARGET_OS" = xbsd; then ++ CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DVM_LITTLE_ENDIAN" ++ fi + else + # Same goes for _BIG_ENDIAN. Do we really need to set *ENDIAN on Solaris if they + # are defined in the system? +@@ -556,6 +559,9 @@ + else + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN" + fi ++ if test "x$OPENJDK_TARGET_OS" = xbsd; then ++ CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DVM_BIG_ENDIAN" ++ fi + fi + if test "x$OPENJDK_TARGET_CPU" = xppc64le; then + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DABI_ELFv2" +--- common/autoconf/generated-configure.sh Fri Feb 08 17:57:16 2019 -0800 ++++ common/autoconf/generated-configure.sh Fri Feb 08 22:49:40 2019 -0800 +@@ -41879,6 +41879,9 @@ + else + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN" + fi ++ if test "x$OPENJDK_TARGET_OS" = xbsd; then ++ CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DVM_LITTLE_ENDIAN" ++ fi + else + # Same goes for _BIG_ENDIAN. Do we really need to set *ENDIAN on Solaris if they + # are defined in the system? +@@ -41887,6 +41890,9 @@ + else + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN" + fi ++ if test "x$OPENJDK_TARGET_OS" = xbsd; then ++ CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DVM_BIG_ENDIAN" ++ fi + fi + if test "x$OPENJDK_TARGET_CPU" = xppc64le; then + CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DABI_ELFv2" |