From c2fa1c94c1922dc3f8108f7864d41280ae132cdc Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 18 Feb 2026 00:50:37 +0800 Subject: [PATCH] java/openjfx14: Fix a67f24e318a6966aa0f191de2c49f1fb687fde6e Simplify RUBY_VER check PR: 293109 Reported by: Benjamin Takacs --- java/openjfx14/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 8fb82e12a97c..a30a2be6ccd9 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -95,10 +95,8 @@ _INSTALLDIR= ${PREFIX}/${PKGBASE} CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.if ${PORT_OPTIONS:MWEBKIT} -. if ${RUBY_VER} >= 3.4 +.if defined(RUBY_VER) && ${RUBY_VER} >= 3.4 BUILD_DEPENDS+= rubygem-getoptlong>=0:devel/rubygem-getoptlong -. endif .endif post-extract: