aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Druzenko <vvd@FreeBSD.org>2024-06-23 21:42:24 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-06-23 21:45:13 +0000
commit7506cab6f817cb568499e7468c5062106359bae3 (patch)
tree7e1b246a275b5570d15f1405f1d7cebb5d6b9e7b
parent8ef91da50b7381a2f0f014ed3c7ee247269482a2 (diff)
downloadports-7506cab6f817cb568499e7468c5062106359bae3.tar.gz
ports-7506cab6f817cb568499e7468c5062106359bae3.zip
games/jinput: fix build on 14.1: "[ERROR] warnings found and -Werror specified"
-rw-r--r--games/jinput/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/jinput/Makefile b/games/jinput/Makefile
index 91d6db9484ec..6d257eed349f 100644
--- a/games/jinput/Makefile
+++ b/games/jinput/Makefile
@@ -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}; \