Date: Wed, 11 Feb 2026 16:32:24 +0000 From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8879f34c4c20 - main - java/openjfx14: Fix a67f24e318a6966aa0f191de2c49f1fb687fde6e Message-ID: <698caf18.25836.30d439aa@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8879f34c4c202447e57bac97d4b81a0601beac45 commit 8879f34c4c202447e57bac97d4b81a0601beac45 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-02-11 16:24:18 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-02-11 16:32:18 +0000 java/openjfx14: Fix a67f24e318a6966aa0f191de2c49f1fb687fde6e Fix build with WEBKIT=off. RUBY_VER variable is only defined with USES=ruby, which is only the case if the WEBKIT option is on. While here move LDFLAGS higher. PR: 293109 Fixes: a67f24e318a6 (Fix 066663be20a8d55bde6ec67c54dbdaeafcf04fea) --- java/openjfx14/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 25a56e999b6d..8fb82e12a97c 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -47,6 +47,8 @@ USE_XORG= x11 xtst xxf86vm CFLAGS+= -Wno-unused-command-line-argument \ -Wno-int-conversion +# Suppress errors with lld >= 17 due to undefined symbols. +LDFLAGS+= -Wl,--undefined-version PLIST_SUB= INSTALLDIR=${_INSTALLDIR} @@ -87,19 +89,16 @@ _GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon _INSTALLDIR= ${PREFIX}/${PKGBASE} -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -# Suppress errors with lld >= 17 due to undefined symbols. -LDFLAGS+= -Wl,--undefined-version - -.include <bsd.port.pre.mk> - -.if ${RUBY_VER} >= 3.4 +.if ${PORT_OPTIONS:MWEBKIT} +. if ${RUBY_VER} >= 3.4 BUILD_DEPENDS+= rubygem-getoptlong>=0:devel/rubygem-getoptlong +. endif .endif post-extract:home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698caf18.25836.30d439aa>
