git: 84f5cb1f8f1c - 2022Q4 - devel/efl: Do not depend unconditionally on libunwind.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 07 Nov 2022 10:48:46 UTC
The branch 2022Q4 has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84f5cb1f8f1c7fb7af31760e6faa9af13376ecbd

commit 84f5cb1f8f1c7fb7af31760e6faa9af13376ecbd
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-11-07 10:45:22 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-11-07 10:48:42 +0000

    devel/efl: Do not depend unconditionally on libunwind.
    
    Reported by:    fluffy
    
    (cherry picked from commit 53dca644f64f7c464e8dbeb49029e90503baddcb)
---
 devel/efl/Makefile | 7 +++++--
 1 file 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