Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2022 22:31:12 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: efc9e9b68cbc - main - devel/libffcall: fix build on powerpc64
Message-ID:  <202202112231.21BMVCsI085950@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit efc9e9b68cbce90cdeca13190b76db89094c4029
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-11 22:25:48 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-11 22:25:48 +0000

    devel/libffcall: fix build on powerpc64
---
 devel/libffcall/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/libffcall/Makefile b/devel/libffcall/Makefile
index 6a5bc2e4a2e7..dd42ecbb1723 100644
--- a/devel/libffcall/Makefile
+++ b/devel/libffcall/Makefile
@@ -23,9 +23,12 @@ CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
 MAKE_JOBS_UNSAFE=	yes
 CFLAGS+=		-fPIC
 
-EXTRA_PATCHES=		${PATCHES_${ARCH}}
-PATCHES_powerpc64=	${PATCHDIR}/extra-patch-ffcall-abi.h
-PATCHES_powerpc64le=	${PATCHDIR}/extra-patch-ffcall-abi.h
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+EXTRA_PATCHES=	${PATCHDIR}/extra-patch-ffcall-abi.h
+USES+=		compiler:gcc-c++11-lib
+.endif
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202112231.21BMVCsI085950>