git: 5e391da971e2 - main - security/wolfssh: Fix make test

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 18:56:22 UTC
The branch main has been updated by sunpoet:

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

commit 5e391da971e223b30fd18c2d9c5105385c653025
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 18:51:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 18:51:02 +0000

    security/wolfssh: Fix make test
    
    Reported by:    diizzy
---
 security/wolfssh/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/security/wolfssh/Makefile b/security/wolfssh/Makefile
index bf995ce37aec..7dc86c107994 100644
--- a/security/wolfssh/Makefile
+++ b/security/wolfssh/Makefile
@@ -11,10 +11,11 @@ WWW=		https://www.wolfssl.com/products/wolfssh/ \
 LICENSE=	GPLv3
 
 LIB_DEPENDS=	libwolfssl.so:security/wolfssl
+TEST_DEPENDS=	bash:shells/bash
 
-USES=		libtool localbase
+USES=		libtool localbase shebangfix
 
-CONFIGURE_ARGS=	--disable-examples \
+CONFIGURE_ARGS=	--enable-examples \
 		--enable-fwd \
 		--enable-keygen \
 		--enable-scp \
@@ -27,4 +28,6 @@ INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
+SHEBANG_FILES=	scripts/get-put.test
+
 .include <bsd.port.mk>