aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2008-02-03 18:46:25 +0000
committerGreg Lewis <glewis@FreeBSD.org>2008-02-03 18:46:25 +0000
commit563540b87fb20df3b111cef19eada2a0fe6fac38 (patch)
treede8e7da57d37d56c961c5f770a0db0a503e5e8e3 /java
parent8742a6b54c49d30fa0b979beda4e95e8444a0457 (diff)
downloadports-563540b87fb20df3b111cef19eada2a0fe6fac38.tar.gz
ports-563540b87fb20df3b111cef19eada2a0fe6fac38.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jdk16/Makefile2
-rw-r--r--java/jdk16/files/patch-j2se-java-localegen.sh15
2 files changed, 16 insertions, 1 deletions
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 1749a78877d6..914b604221da 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}p${JDK_PATCHSET_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= # http://download.java.net/jdk6/
# http://www.eyesbeyond.com/freebsddom/java/jdk16.html
diff --git a/java/jdk16/files/patch-j2se-java-localegen.sh b/java/jdk16/files/patch-j2se-java-localegen.sh
new file mode 100644
index 000000000000..fbc6351c4f84
--- /dev/null
+++ b/java/jdk16/files/patch-j2se-java-localegen.sh
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- ../../j2se/make/java/java/localegen.sh.orig 2008-01-06 16:38:14.000000000 +0100
++++ ../../j2se/make/java/java/localegen.sh 2008-01-06 16:51:26.000000000 +0100
+@@ -22,7 +22,7 @@
+ localelist=
+ getlocalelist() {
+ localelist=""
+- localelist=`$NAWK -F$1_ '{print $2}' $2 | sort`
++ localelist=`$SED -e 'y/ /\n/' -e 's/\\\n//g' $2 | $NAWK -F$1_ '{print \$2}' | sort`
+ }
+
+ sed_script="$SED -e \"s@^#warn .*@// -- This file was mechanically generated: Do not edit! -- //@\" "
+
+