java/javahelp: fix build with modern JDK

This commit is contained in:
Max Brazhnikov
2020-11-18 11:15:56 +00:00
parent bfe7ac7a92
commit 3541ca6c20

View File

@@ -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}/