git: 6f8d8ce0f19d - main - devel/libffcall: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 22:31:15 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f8d8ce0f19d8b1034e27f8a65824b379e2ce867 commit 6f8d8ce0f19d8b1034e27f8a65824b379e2ce867 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-02-11 22:25:54 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-02-11 22:25:54 +0000 devel/libffcall: fix build on powerpc64le Also make the patch apply everywhere to simplify things. --- devel/libffcall/Makefile | 3 +-- devel/libffcall/files/{extra-patch-ffcall-abi.h => patch-ffcall-abi.h} | 0 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/devel/libffcall/Makefile b/devel/libffcall/Makefile index dd42ecbb1723..e3918d1cb520 100644 --- a/devel/libffcall/Makefile +++ b/devel/libffcall/Makefile @@ -25,8 +25,7 @@ CFLAGS+= -fPIC .include <bsd.port.options.mk> -.if ${ARCH} == powerpc64 -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ffcall-abi.h +.if ${ARCH:Mpowerpc64*} USES+= compiler:gcc-c++11-lib .endif diff --git a/devel/libffcall/files/extra-patch-ffcall-abi.h b/devel/libffcall/files/patch-ffcall-abi.h similarity index 100% rename from devel/libffcall/files/extra-patch-ffcall-abi.h rename to devel/libffcall/files/patch-ffcall-abi.h