summaryrefslogtreecommitdiff
path: root/lang/openjdk8
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2015-10-22 21:55:55 +0000
committerjmcneill <jmcneill@pkgsrc.org>2015-10-22 21:55:55 +0000
commit94980803a0f3f37a82c8533eab84aeb73b5a98c5 (patch)
tree840646f680767c3a812f03221fbe866ebdc44c32 /lang/openjdk8
parent90202f166ff0852a05a636a8342bf20df1be7de0 (diff)
downloadpkgsrc-94980803a0f3f37a82c8533eab84aeb73b5a98c5.tar.gz
Fix NetBSD/arm build.
Diffstat (limited to 'lang/openjdk8')
-rw-r--r--lang/openjdk8/distinfo3
-rw-r--r--lang/openjdk8/patches/patch-common_autoconf_build-aux_autoconf-config.sub16
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/openjdk8/distinfo b/lang/openjdk8/distinfo
index 22e11a64240..ecfee488d53 100644
--- a/lang/openjdk8/distinfo
+++ b/lang/openjdk8/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2015/09/29 14:55:45 ryoon Exp $
+$NetBSD: distinfo,v 1.29 2015/10/22 21:55:55 jmcneill Exp $
SHA1 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 7408f52d3bbe35c2b14bbd3215cbf60f1335d334
RMD160 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 24f1577b5fc86d137f070aedb4610c8c89e45815
@@ -47,6 +47,7 @@ SHA1 (patch-bh) = 6194a7c319a496f8ff7df173912cf87118f26a63
SHA1 (patch-bi) = 190056b3d4c42986ae0a600668b02711598361b8
SHA1 (patch-bn) = a50dbe17236a90d60d4bbb852ae447e51a279892
SHA1 (patch-common_autoconf_boot-jdk.m4) = b7f8722a25c1c7ab489a9fd65cf60fb4af9530eb
+SHA1 (patch-common_autoconf_build-aux_autoconf-config.sub) = 53ac6deffff0f22a0da458c36d37ddbb909e99a4
SHA1 (patch-common_autoconf_generated-configure.sh) = cda7bc95247400a1702e9da937d485d1a2084f97
SHA1 (patch-common_autoconf_spec.gmk.in) = e98bc4c8a09f49c6a26447e6f78abf4709ee694b
SHA1 (patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java) = 893f3b7ad0839a75be49ddd0f5eefcff2dbd2928
diff --git a/lang/openjdk8/patches/patch-common_autoconf_build-aux_autoconf-config.sub b/lang/openjdk8/patches/patch-common_autoconf_build-aux_autoconf-config.sub
new file mode 100644
index 00000000000..a1d7249fc0f
--- /dev/null
+++ b/lang/openjdk8/patches/patch-common_autoconf_build-aux_autoconf-config.sub
@@ -0,0 +1,16 @@
+$NetBSD: patch-common_autoconf_build-aux_autoconf-config.sub,v 1.1 2015/10/22 21:55:55 jmcneill Exp $
+
+Fix build on NetBSD/arm (complaints that armv7--netbsdelf-eabihf is an unknown
+machine name).
+
+--- common/autoconf/build-aux/autoconf-config.sub.orig 2015-09-28 21:01:41.000000000 +0000
++++ common/autoconf/build-aux/autoconf-config.sub
+@@ -147,7 +147,7 @@ esac
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
+- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
++ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`