git: efc9e9b68cbc - main - devel/libffcall: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 22:31:12 UTC
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 \