aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-08-03 05:47:45 +0000
committerMikael Urankar <mikael@FreeBSD.org>2022-10-30 15:47:39 +0000
commit58449f2308f4e165fbdfae324794a803820831b3 (patch)
treefcdec22fd61857d5e226b493b329f286fcf03443
parent5a84f8764063d95a1f6f2965785fd9b7effbb40f (diff)
downloadports-58449f2308f4e165fbdfae324794a803820831b3.tar.gz
ports-58449f2308f4e165fbdfae324794a803820831b3.zip
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)
-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