diff options
author | swills <swills@FreeBSD.org> | 2015-10-02 02:20:03 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-10-02 02:20:03 +0800 |
commit | 25faa5fb29009f8e310fda154241ca6009baa80c (patch) | |
tree | a5f0abb5ccbe486422a03f6682d90aad9168476c /devel | |
parent | e10931c4f6f394a6cba8bd557eecb51244564e29 (diff) | |
download | freebsd-ports-gnome-25faa5fb29009f8e310fda154241ca6009baa80c.tar.gz freebsd-ports-gnome-25faa5fb29009f8e310fda154241ca6009baa80c.tar.zst freebsd-ports-gnome-25faa5fb29009f8e310fda154241ca6009baa80c.zip |
devel/luajava: fix build with OpenJDK8
PR: 203061
Submitted by: glewis
Approved by: maintainer timeout (sunghyuk@gmail.com, >2 weeks)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/luajava/files/patch-Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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. |