git: b731cd1d47a2 - 2024Q3 - audio/libaudiofile: use more canonical TEST_TARGET for tests

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 28 Sep 2024 10:53:00 UTC
The branch 2024Q3 has been updated by dim:

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

commit b731cd1d47a2ee27e994d65afe30c14a29170371
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-09-28 10:47:29 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-09-28 10:49:49 +0000

    audio/libaudiofile: use more canonical TEST_TARGET for tests
    
    Noticed by:     arrowd
    MFH:            2024Q3
    
    (cherry picked from commit 89343af2bb8dbe7a84ac3668077eab044807a249)
---
 audio/libaudiofile/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index a7b2087ee54a..ef01bc58198b 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -22,9 +22,7 @@ USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-
-do-test:
-	cd ${WRKSRC} && ${MAKE} check
+TEST_TARGET=	check
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudiofile.so.1