git: 7b1763811120 - main - textproc/elasticsearch94: Improving adherence to the coding style in the patches

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 09 Nov 2026 19:13:23 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b176381112033f791fad03d1f5f46e34717e2b4

commit 7b176381112033f791fad03d1f5f46e34717e2b4
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-11-09 19:01:55 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-11-09 19:12:58 +0000

    textproc/elasticsearch94: Improving adherence to the coding style in the patches
    
    PR:             290954
    Approved by:    elastic (implicit, inactive)
    Sponsored by:   UNIS Labs
---
 .../elasticsearch94/files/patch-libs_native_libraries_build.gradle    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/elasticsearch94/files/patch-libs_native_libraries_build.gradle b/textproc/elasticsearch94/files/patch-libs_native_libraries_build.gradle
index f856b40dad41..3a37553a0838 100644
--- a/textproc/elasticsearch94/files/patch-libs_native_libraries_build.gradle
+++ b/textproc/elasticsearch94/files/patch-libs_native_libraries_build.gradle
@@ -37,7 +37,7 @@
      it.path = it.path.replace("win32", "windows")
 +  }
 +  if (System.getProperty("os.name", "").startsWith("FreeBSD")) {
-+    if (Boolean.parseBoolean(System.getProperty("freebsd.build.fromPorts", "false")) == true) {
++    if (Boolean.parseBoolean(System.getProperty("freebsd.build.fromPorts", "false"))) {
 +      from('%%LOCALBASE%%/lib') {
 +        include 'libzstd.so'
 +        into 'freebsd-x64'
@@ -48,7 +48,7 @@
 +        into 'freebsd-x64'
 +      }
 +    }
-+    if (Boolean.parseBoolean(System.getProperty("freebsd.build.libvec", "false")) == true) {
++    if (Boolean.parseBoolean(System.getProperty("freebsd.build.libvec", "false"))) {
 +      dependsOn buildLibVec
 +      from(file("../../simdvec/native/build/libs/vec/freebsd/amd64/")) {
 +        include 'libvec.so'