git: fb212931e035 - main - sysutils/nut-devel: Disable automatic enphase API discovery

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 25 Sep 2025 18:20:24 UTC
The branch main has been updated by cy:

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

commit fb212931e035a17fefaeaf6d4cbed28275b37599
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-09-25 18:16:30 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-09-25 18:20:19 +0000

    sysutils/nut-devel: Disable automatic enphase API discovery
    
    Disable automatic enphase API discovery. Any port that enables
    the enphase API will result in a pkg-plist error. We do not need
    the external enphase API.
    
    Though the documentation states that external enphase API discovery is
    disabled, the nut build enables it automatically. Building it in
    a clean jail without unneeded ports installed will not discover this
    error.
---
 sysutils/nut-devel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index adbc985b5860..24102fa0b68c 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -88,7 +88,8 @@ CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/nut \
 		--with-python3=${PYTHON_CMD} \
 		--without-nut_monitor \
 		--with-ltdl --with-nut-scanner \
-		--without-augeas-lenses-dir
+		--without-augeas-lenses-dir \
+		--enable-extapi-enphase=no
 
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share