git: 58449f2308f4 - main - databases/leofs: fix build on armv6, armv7, aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Oct 2022 15:47:55 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=58449f2308f4e165fbdfae324794a803820831b3 commit 58449f2308f4e165fbdfae324794a803820831b3 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-03 05:47:45 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-10-30 15:47:39 +0000 databases/leofs: fix build on armv6, armv7, aarch64 Apply the fix from db917ae to armv6, armv7, and aarch64. PR: 265587 Approved by: portmgr (blanket: build fix) Approved by: trociny (maintainer) --- databases/leofs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/databases/leofs/Makefile b/databases/leofs/Makefile index 17ae97454d46..2d86eb92f082 100644 --- a/databases/leofs/Makefile +++ b/databases/leofs/Makefile @@ -10,7 +10,6 @@ WWW= https://leo-project.net/ LICENSE= APACHE20 -BROKEN_aarch64= Does not compile: fatal error: lzo/lzo1x.h file not found NOT_FOR_ARCHS= riscv64 sparc64 NOT_FOR_ARCHS_REASON= does not build: error Please implement AtomicPointer for this platform @@ -106,6 +105,9 @@ LEOFS_DEPS= \ GH_TUPLE= ${LEOFS_DEPS:C,(.*)/(.*)=(.*):(.*),\1:\2:\3:\4/deps/\4,} +CFLAGS_aarch64= -DLEVELDB_CSTDATOMIC_PRESENT +CFLAGS_armv6= -DLEVELDB_CSTDATOMIC_PRESENT +CFLAGS_armv7= -DLEVELDB_CSTDATOMIC_PRESENT CFLAGS_powerpc= -DLEVELDB_CSTDATOMIC_PRESENT CFLAGS_powerpc64= -DLEVELDB_CSTDATOMIC_PRESENT CFLAGS_powerpc64le= -DLEVELDB_CSTDATOMIC_PRESENT