git: e2c755d49fd9 - 2022Q4 - databases/leofs: fix build on armv6, armv7, aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Nov 2022 19:17:54 UTC
The branch 2022Q4 has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2c755d49fd949aea1d9ef15bd8f0001afeb9cca commit e2c755d49fd949aea1d9ef15bd8f0001afeb9cca Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-03 05:47:45 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-11-13 19:04:47 +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) (cherry picked from commit 58449f2308f4e165fbdfae324794a803820831b3) --- 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