git: abde9a630449 - main - textproc/elasticsearch8: Fix path to distfiles in LOCAL

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 05 Nov 2026 13:02:28 UTC
The branch main has been updated by vvd:

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

commit abde9a63044975aa2d41da654e437c17196864e2
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-11-05 12:57:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-11-05 13:02:15 +0000

    textproc/elasticsearch8: Fix path to distfiles in LOCAL
    
    While here fix whitespaces in one patch.
    
    PR:             288653
    Approved by:    blanket (fix fetch)
    Reported by:    linus.sundqvist@loopia.se
    Sponsored by:   UNIS Labs
    MFH:            2026Q4
---
 textproc/elasticsearch8/Makefile                                        | 2 +-
 ...elasticsearch_gradle_internal_conventions_info_ParallelDetector.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/elasticsearch8/Makefile b/textproc/elasticsearch8/Makefile
index fee3c8a68003..d18b1fc90719 100644
--- a/textproc/elasticsearch8/Makefile
+++ b/textproc/elasticsearch8/Makefile
@@ -84,7 +84,7 @@ OPTIONS_DEFINE=		DOCS
 # 3. make clean makesum
 DEV_UPDATE_MODE?=	no
 .if (${DEV_UPDATE_MODE} == "no")
-MASTER_SITES+=	LOCAL/vvd/elastic/${PORTNAME}:deps
+MASTER_SITES+=	LOCAL/vvd/elastic:deps
 DISTFILES+=	${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}:deps
 GRADLE_ARGS=	--offline
 .endif
diff --git a/textproc/elasticsearch8/files/patch-build-conventions_src_main_java_org_elasticsearch_gradle_internal_conventions_info_ParallelDetector.java b/textproc/elasticsearch8/files/patch-build-conventions_src_main_java_org_elasticsearch_gradle_internal_conventions_info_ParallelDetector.java
index 1170f2fa7217..2e76b21ec833 100644
--- a/textproc/elasticsearch8/files/patch-build-conventions_src_main_java_org_elasticsearch_gradle_internal_conventions_info_ParallelDetector.java
+++ b/textproc/elasticsearch8/files/patch-build-conventions_src_main_java_org_elasticsearch_gradle_internal_conventions_info_ParallelDetector.java
@@ -4,7 +4,7 @@
                  if (result.getResult().get().getExitValue() == 0 && stdout.isEmpty() == false) {
                      _defaultParallel = Integer.parseInt(stdout);
                  }
-+            }  else if (isFreeBSD(project.getProviders())) {
++            } else if (isFreeBSD(project.getProviders())) {
 +                var result = project.getProviders().exec(execSpec -> {
 +                    execSpec.commandLine("sysctl", "-n", "kern.smp.cores");
 +                    execSpec.setIgnoreExitValue(true);