aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2022-11-07 10:45:22 +0000
committerGleb Popov <arrowd@FreeBSD.org>2022-11-07 10:48:42 +0000
commit84f5cb1f8f1c7fb7af31760e6faa9af13376ecbd (patch)
tree6c646ce7a209c5174b43c186f8d273f415586a07
parentad0a9347ee96a09dcde4c1a87e245d4b85c488d1 (diff)
devel/efl: Do not depend unconditionally on libunwind.
Reported by: fluffy (cherry picked from commit 53dca644f64f7c464e8dbeb49029e90503baddcb)
-rw-r--r--devel/efl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/efl/Makefile b/devel/efl/Makefile
index edb01a0d3c71..729b187c0f80 100644
--- a/devel/efl/Makefile
+++ b/devel/efl/Makefile
@@ -19,8 +19,7 @@ LIB_DEPENDS= libgif.so:graphics/giflib \
libfontconfig.so:x11-fonts/fontconfig \
libdbus-1.so:devel/dbus \
libcurl.so:ftp/curl \
- libsndfile.so:audio/libsndfile \
- libunwind.so:devel/libunwind
+ libsndfile.so:audio/libsndfile
# lib/libeio.so.1
CONFLICTS_INSTALL= libeio
@@ -213,6 +212,10 @@ MESON_ARGS+= -Dbindings="${EFL_BINDINGS:ts,}"
MESON_ARGS+= -Db_asneeded=false
.endif
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
+LIB_DEPENDS+= libunwind.so:devel/libunwind
+.endif
+
.if ${ARCH:Marmv?}
BUILD_DEPENDS+= as:devel/binutils
CFLAGS+= -no-integrated-as