git: 2cbea840ca02 - main - devel/liboil: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jun 16 09:00:33 UTC 2021


The branch main has been updated by pkubaj:

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

commit 2cbea840ca02d107674d700fcb3d7d6c4eca51b6
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 09:00:17 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 09:00:17 +0000

    devel/liboil: fix build on powerpc
    
    Same issue as on powerpc64.
---
 devel/liboil/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 6b68dbba7fba..454b13c17d46 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -24,7 +24,7 @@ CFLAGS:=	${CFLAGS:N-O*} -O2
 
 .include <bsd.port.options.mk>
 
-.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc
 USES+=		compiler:gcc-c++11-lib
 .endif
 


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