aboutsummaryrefslogtreecommitdiff
path: root/devel/luajava/files/patch-Makefile
blob: 4b1b1f134c8e140d88e2e1e0a03d3cefacf3892e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.