diff options
author | swills <swills@FreeBSD.org> | 2015-10-17 02:13:28 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-10-17 02:13:28 +0800 |
commit | 8ec8ed3c13ccc543c087efe75edda411e8c731bb (patch) | |
tree | e41f1d3815bd5ee04b5c61ed46e9b1df6fade06f /print | |
parent | 08854cbf5ee7afa7593d959b6307f1d2fc20a2be (diff) | |
download | freebsd-ports-gnome-8ec8ed3c13ccc543c087efe75edda411e8c731bb.tar.gz freebsd-ports-gnome-8ec8ed3c13ccc543c087efe75edda411e8c731bb.tar.zst freebsd-ports-gnome-8ec8ed3c13ccc543c087efe75edda411e8c731bb.zip |
print/pdf-renderer: fix build with openjdk8
PR: 203123
Approved by: maintainer timeout (ale, >2 weeks)
Diffstat (limited to 'print')
-rw-r--r-- | print/pdf-renderer/Makefile | 11 | ||||
-rw-r--r-- | print/pdf-renderer/files/extra-patch-swinglabs-build-impl.xml | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/print/pdf-renderer/Makefile b/print/pdf-renderer/Makefile index 08805ee9b0b8..eb5e43fa1d4a 100644 --- a/print/pdf-renderer/Makefile +++ b/print/pdf-renderer/Makefile @@ -13,7 +13,7 @@ COMMENT= 100% Java PDF renderer and viewer LICENSE= LGPL21 -USES= zip +USES= dos2unix zip NO_WRKSUBDIR= yes USE_JAVA= yes JAVA_VERSION= 1.6+ @@ -26,6 +26,7 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * OPTIONS_DEFINE= DOCS +DOS2UNIX_FILES= swinglabs-build-impl.xml .include <bsd.port.options.mk> @@ -33,6 +34,12 @@ OPTIONS_DEFINE= DOCS ALL_TARGET+= javadoc .endif +.include <bsd.port.pre.mk> + +.if ${JAVA_PORT_VERSION:M1.8.*} +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-swinglabs-build-impl.xml +.endif + do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar \ @@ -46,4 +53,4 @@ do-install: @${ECHO_MSG} " [DONE]" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/print/pdf-renderer/files/extra-patch-swinglabs-build-impl.xml b/print/pdf-renderer/files/extra-patch-swinglabs-build-impl.xml new file mode 100644 index 000000000000..8e69d7dcaaff --- /dev/null +++ b/print/pdf-renderer/files/extra-patch-swinglabs-build-impl.xml @@ -0,0 +1,11 @@ +--- swinglabs-build-impl.xml.orig 2011-09-15 11:34:02 UTC ++++ swinglabs-build-impl.xml +@@ -211,7 +211,7 @@ ${build.branch} ${RELEASE_DSTAMP_LONG} $ + version="${javadoc.version}" + windowtitle="${javadoc.windowtitle}" + private="${javadoc.private}" +- additionalparam="${javadoc.additionalparam}" ++ additionalparam="${javadoc.additionalparam} -Xdoclint:none" + failonerror="true" useexternalfile="false" + verbose="${javadoc.verbose}" + maxmemory="1024M" |