git: b951f4219021 - main - graphics/lua-gd: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jul 15 22:05:35 UTC 2021


The branch main has been updated by pkubaj:

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

commit b951f4219021502e790e1c1281cdb141dd2ac3b8
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-15 22:02:30 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-15 22:02:30 +0000

    graphics/lua-gd: fix build on powerpc
    
    While here, remove unnecessary +.
---
 graphics/lua-gd/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/lua-gd/Makefile b/graphics/lua-gd/Makefile
index 81eb2dbbc20f..f6d39e3ded67 100644
--- a/graphics/lua-gd/Makefile
+++ b/graphics/lua-gd/Makefile
@@ -25,9 +25,10 @@ EXAMPLESDIR=	${LUA_EXAMPLESDIR}
 
 .include <bsd.port.options.mk>
 
-CFLAGS_aarch64+=-fPIC
-CFLAGS_amd64+=	-fPIC
-CFLAGS_i386+=	-fPIC
+CFLAGS_aarch64=	-fPIC
+CFLAGS_amd64=	-fPIC
+CFLAGS_i386=	-fPIC
+CFLAGS_powerpc=	-fPIC
 
 do-build:
 	${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c


More information about the dev-commits-ports-all mailing list