freebsd-ports/java/jdk15/files/patch-java_Makefile
Greg Lewis ec588aa1f9 . Avoid a problem where, without linprocfs mounted, the first line of
a generated file will be overwritten with a warning, causing the
  build to fail.  There is a check for linprocfs in pre-build, but it
  seems as though this problem can somehow trigger anyway, based on
  semi-regular reports to the mailing lists.

PR:		74999
Approved by:	phantom
2004-12-17 07:08:59 +00:00

11 lines
723 B
Text

--- ../../j2se/make/java/java/Makefile.orig Mon Dec 13 12:38:14 2004
+++ ../../j2se/make/java/java/Makefile Mon Dec 13 12:42:00 2004
@@ -284,7 +284,7 @@
$(RM) -r $(TMPDIR)/GenerateCurrencyData
$(MKDIR) -p $(TMPDIR)/GenerateCurrencyData
$(JAVAC_BOOT) -d $(TMPDIR)/GenerateCurrencyData $(BUILDDIR)/tools/GenerateCurrencyData/GenerateCurrencyData.java
- $(JAVA_BOOT) -classpath $(TMPDIR)/GenerateCurrencyData GenerateCurrencyData < $(SHARE_SRC)/classes/java/util/CurrencyData.properties > $@
+ $(JAVA_BOOT) -classpath $(TMPDIR)/GenerateCurrencyData GenerateCurrencyData < $(SHARE_SRC)/classes/java/util/CurrencyData.properties | egrep -v '^Java HotSpot' > $@
clean::
$(RM) $(GENSRCDIR)/java/util/CurrencyData.java