Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-08-03 08:47:45 +0300
committerMikael Urankar <mikael@FreeBSD.org>2022-11-13 22:04:47 +0300
commite2c755d49fd949aea1d9ef15bd8f0001afeb9cca (patch)
tree86c54f28d56129de75887b6fbb550c68da440aff
parent01d7517f710725330d384dba5aa2a29dc96b5bac (diff)
databases/leofs: fix build on armv6, armv7, aarch642022Q4
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)
-rw-r--r--databases/leofs/Makefile4
1 files changed, 3 insertions, 1 deletions
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