git: 8db74d3ca50a - main - devel/libmaa: fix the build against Clang 15 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 28 Feb 2023 21:43:57 UTC
The branch main has been updated by fluffy:

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

commit 8db74d3ca50ace258ea001c2a801b3d369459cb3
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-02-28 21:42:56 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-02-28 21:42:56 +0000

    devel/libmaa: fix the build against Clang 15 (+)
    
    Approved by:    portmgr blanket
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 devel/libmaa/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/libmaa/Makefile b/devel/libmaa/Makefile
index 183f319b5b14..9809a54ec9c5 100644
--- a/devel/libmaa/Makefile
+++ b/devel/libmaa/Makefile
@@ -12,6 +12,7 @@ LICENSE_FILE=	${WRKSRC}/doc/LICENSE
 
 BUILD_DEPENDS=	mk-configure>=0.29.1:devel/mk-configure
 
+CFLAGS+=	-fPIC
 MAKE_ARGS=	DOCDIR=${DOCSDIR}
 MAKE_CMD=	mkcmake
 USE_LDCONFIG=	yes