git: d2927ff94b00 - main - databases/libdbi-drivers: Work around LLVM15 build failure

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sun, 12 Feb 2023 08:37:48 UTC
The branch main has been updated by madpilot:

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

commit d2927ff94b0023277ad095ae9eef5c2cfc5bc554
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-02-12 08:36:53 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-02-12 08:36:53 +0000

    databases/libdbi-drivers: Work around LLVM15 build failure
    
    The failure happens in the included test suite, but the tests are
    not actually used, so skip building them.
---
 databases/libdbi-drivers/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/databases/libdbi-drivers/Makefile b/databases/libdbi-drivers/Makefile
index 12805d76b180..e39488fecd62 100644
--- a/databases/libdbi-drivers/Makefile
+++ b/databases/libdbi-drivers/Makefile
@@ -47,5 +47,6 @@ SQLITE3_PLIST_FILES=	lib/dbd/libdbdsqlite3.so
 
 post-patch:
 	@${TOUCH} ${WRKSRC}/drivers/*/dbd_*/*
+	@${REINPLACE_CMD} 's/tests //' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>