git: 127f833847c5 - main - irc/irssi-xmpp: add -fPIC on all architectures

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 22 Sep 2022 11:26:42 UTC
The branch main has been updated by pkubaj:

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

commit 127f833847c5bb5beda0a8ee8ed84e388c0996f4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-22 10:13:43 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-22 10:13:43 +0000

    irc/irssi-xmpp: add -fPIC on all architectures
    
    Fixes build at least on armv7 and powerpc.
---
 irc/irssi-xmpp/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/irc/irssi-xmpp/Makefile b/irc/irssi-xmpp/Makefile
index 3ca01bfb64d6..de684fcf4a99 100644
--- a/irc/irssi-xmpp/Makefile
+++ b/irc/irssi-xmpp/Makefile
@@ -27,11 +27,7 @@ USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
-CFLAGS_aarch64=	-fPIC
-CFLAGS_amd64=	-fPIC
-CFLAGS_i386=	-fPIC
-CFLAGS_powerpc64=	-fPIC
-CFLAGS_powerpc64le=	-fPIC
+CFLAGS+=	-fPIC
 
 DATADIR=	${PREFIX}/share/irssi
 DOCSDIR=	${PREFIX}/share/doc/irssi