Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2020 11:15:56 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555632 - head/java/javahelp
Message-ID:  <202011181115.0AIBFum4091024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Wed Nov 18 11:15:56 2020
New Revision: 555632
URL: https://svnweb.freebsd.org/changeset/ports/555632

Log:
  java/javahelp: fix build with modern JDK

Modified:
  head/java/javahelp/Makefile

Modified: head/java/javahelp/Makefile
==============================================================================
--- head/java/javahelp/Makefile	Wed Nov 18 11:15:53 2020	(r555631)
+++ head/java/javahelp/Makefile	Wed Nov 18 11:15:56 2020	(r555632)
@@ -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}/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011181115.0AIBFum4091024>