svn commit: r556601 - head/net/samba412
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Nov 29 22:50:25 UTC 2020
Author: pkubaj
Date: Sun Nov 29 22:50:24 2020
New Revision: 556601
URL: https://svnweb.freebsd.org/changeset/ports/556601
Log:
net/samba412: don't use libunwind on architectures that it's not available at
Reported by: jhibbits (for powerpcspe)
Modified:
head/net/samba412/Makefile
Modified: head/net/samba412/Makefile
==============================================================================
--- head/net/samba412/Makefile Sun Nov 29 20:38:24 2020 (r556600)
+++ head/net/samba412/Makefile Sun Nov 29 22:50:24 2020 (r556601)
@@ -137,8 +137,6 @@ NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC
# Iconv(picked up unconditionaly)
LIB_DEPENDS+= libiconv.so:converters/libiconv
-# unwind
-LIB_DEPENDS+= libunwind.so:devel/libunwind
# Readline(sponsored by Python)
# XXX: USES=readline pollutes CPPFLAGS, so we explicitly put dependency
LIB_DEPENDS+= libreadline.so:devel/readline
@@ -385,6 +383,11 @@ MANDOC_CONFIGURE_ENV_OFF= XSLTPROC="true"
##############################################################################
.include <bsd.port.options.mk>
##############################################################################
+
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
+# unwind
+LIB_DEPENDS+= libunwind.so:devel/libunwind
+.endif
.if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES)
WANT_EXP_MODULES= vfs_cacheprime
More information about the svn-ports-head
mailing list