From 3541ca6c206bb8ea37aa1503964bacb0e188b52e Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Wed, 18 Nov 2020 11:15:56 +0000 Subject: java/javahelp: fix build with modern JDK --- java/javahelp/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'java/javahelp') diff --git a/java/javahelp/Makefile b/java/javahelp/Makefile index ab5cb9912587..8b8ec7d4ef83 100644 --- a/java/javahelp/Makefile +++ b/java/javahelp/Makefile @@ -36,6 +36,10 @@ BUILD_WRKSRC= ${WRKSRC}/javahelp_nbproject SUB_FILES= jhindexer \ jhsearch +post-patch: + ${REINPLACE_CMD} '/javac.source/s,4,6,;/javac.target/s,4,6,' \ + ${WRKSRC}/*/nbproject/project.properties + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/jhindexer ${WRKDIR}/jhsearch ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${BUILD_WRKSRC}/dist/lib/*.jar ${STAGEDIR}${JAVAJARDIR}/ -- cgit v1.2.3