From 25faa5fb29009f8e310fda154241ca6009baa80c Mon Sep 17 00:00:00 2001 From: swills Date: Thu, 1 Oct 2015 18:20:03 +0000 Subject: devel/luajava: fix build with OpenJDK8 PR: 203061 Submitted by: glewis Approved by: maintainer timeout (sunghyuk@gmail.com, >2 weeks) --- devel/luajava/files/patch-Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 devel/luajava/files/patch-Makefile (limited to 'devel') diff --git a/devel/luajava/files/patch-Makefile b/devel/luajava/files/patch-Makefile new file mode 100644 index 000000000000..4b1b1f134c8e --- /dev/null +++ b/devel/luajava/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig 2015-09-10 23:58:50.499075000 -0700 ++++ Makefile 2015-09-11 00:01:10.958396000 -0700 +@@ -55,7 +55,14 @@ + # Create the API Documentation + # + apidoc: +- $(JDK)/bin/javadoc -public -classpath src/java/ -quiet -d "doc/us/API" $(DOC_CLASSES) ++ case $(JDK) in \ ++ *openjdk8*) \ ++ $(JDK)/bin/javadoc -Xdoclint:none -public -classpath src/java/ -quiet -d "doc/us/API" $(DOC_CLASSES) \ ++ ;; \ ++ *) \ ++ $(JDK)/bin/javadoc -public -classpath src/java/ -quiet -d "doc/us/API" $(DOC_CLASSES) \ ++ ;; \ ++ esac + + # + # Build .c files. -- cgit