aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-08 15:25:18 +0800
committerbapt <bapt@FreeBSD.org>2014-10-08 15:25:18 +0800
commit55cf5b8248d58281b7a80ccdc22934d5c044bcfa (patch)
treeb92a1b932d5a51ad0fb0263bdc388e88c767158c
parent2cf87e67a6a4116cca5f69fa730b7291bf343613 (diff)
downloadfreebsd-ports-gnome-55cf5b8248d58281b7a80ccdc22934d5c044bcfa.tar.gz
freebsd-ports-gnome-55cf5b8248d58281b7a80ccdc22934d5c044bcfa.tar.zst
freebsd-ports-gnome-55cf5b8248d58281b7a80ccdc22934d5c044bcfa.zip
Fix build with gmake 4.1
-rw-r--r--java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh b/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh
new file mode 100644
index 000000000000..710865c3c060
--- /dev/null
+++ b/java/openjdk8/files/patch-hotspot__make__bsd__makefiles__adjust-mflags.sh
@@ -0,0 +1,11 @@
+--- hotspot/make/bsd/makefiles/adjust-mflags.sh.orig 2014-03-04 02:52:06 UTC
++++ hotspot/make/bsd/makefiles/adjust-mflags.sh
+@@ -64,7 +64,7 @@
+ echo "$MFLAGS" \
+ | sed '
+ s/^-/ -/
+- s/ -\([^ ][^ ]*\)j/ -\1 -j/
++ s/ -\([^ I][^ I]*\)j/ -\1 -j/
+ s/ -j[0-9][0-9]*/ -j/
+ s/ -j\([^ ]\)/ -j -\1/
+ s/ -j/ -j'${HOTSPOT_BUILD_JOBS:-${default_build_jobs}}'/