git: f284116e719f - main - devel/libmatthew: build for jdk target 8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Feb 2026 14:06:28 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f284116e719f06cc746ab5c8885be53466436309
commit f284116e719f06cc746ab5c8885be53466436309
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-02-05 14:01:41 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-02-05 14:06:19 +0000
devel/libmatthew: build for jdk target 8
- The single consumer (devel/dbus-java) of this port needs jdk 8.
- Remove java from run depends. This is a library and uses the jdk
of the application that includes the lib. No need to install extra
jdk versions.
PR: 272855
Approved-by: no maintainer
---
devel/libmatthew/Makefile | 2 +-
devel/libmatthew/files/patch-Makefile | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/devel/libmatthew/Makefile b/devel/libmatthew/Makefile
index e0eec3a5eb44..6f732dcbcae4 100644
--- a/devel/libmatthew/Makefile
+++ b/devel/libmatthew/Makefile
@@ -14,7 +14,7 @@ LICENSE_NAME= Expat License
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USES= gmake java localbase:ldconfig
+USES= gmake java:build localbase:ldconfig
USE_LDCONFIG= yes
MAKE_ENV= JARDIR=${JAVAJARDIR} \
diff --git a/devel/libmatthew/files/patch-Makefile b/devel/libmatthew/files/patch-Makefile
index 2268ea18f91f..71ea3c696ade 100644
--- a/devel/libmatthew/files/patch-Makefile
+++ b/devel/libmatthew/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2018-05-05 20:58:21 UTC
+++ Makefile
-@@ -6,13 +6,12 @@ JPPFLAGS+=-C -P
+@@ -6,13 +6,13 @@ JPPFLAGS+=-C -P
CC?=gcc
LD?=gcc
JPPFLAGS+=-C -P
@@ -10,13 +10,14 @@
CSHAREFLAG+=-fpic -fno-stack-protector
GCJJNIFLAG=-fjni
-JVERCFLAGS+=-source 1.5
++JVERCFLAGS+=-source 8 -target 8
JCFLAGS+=
-INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
+INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd
JAVADOCFLAGS?=-quiet -author -link http://java.sun.com/j2se/1.4.2/docs/api/
LDVER?=$(shell ld -v | cut -d' ' -f1)
-@@ -91,11 +90,11 @@ debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Deb
+@@ -91,11 +91,11 @@ debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Deb
tar zcf $@ libmatthew-java-$(MATTVER)
debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp