1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

games/jinput: fix build on 14.1: "[ERROR] warnings found and -Werror specified"

This commit is contained in:
Vladimir Druzenko 2024-06-24 00:42:24 +03:00
parent 8ef91da50b
commit 7506cab6f8

View File

@ -28,7 +28,9 @@ MAVEN_REPO= -Dmaven.repo.local=${WRKSRC}/repository
pre-build:
${CP} ${JAVAJARDIR}/jutils/jutils.jar ${WRKSRC}/repository/net/java/jutils/jutils/1/jutils-1.jar
${SED} -i -e '/example/d' ${WRKSRC}/pom.xml # example/ReadAllEvents.java:[5,28] cannot find symbol ...
${SED} -i -e '/example/d; s|<arg>-Werror</arg>||' ${WRKSRC}/pom.xml
# 1) example/ReadAllEvents.java:[5,28] cannot find symbol ...
# 2) [ERROR] warnings found and -Werror specified ...
do-build:
cd ${WRKSRC}; \