diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-29 22:50:24 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-29 22:50:24 +0000 |
commit | 91c03c3632de824b3dca64677d1644ed6ba39201 (patch) | |
tree | dfea5ae650f6aaad2038b0e3383f8709a1fc3eac /net/samba412 | |
parent | 6497da7de2d00bccce150cae2a9b9a49dd38f474 (diff) | |
download | ports-91c03c3632de824b3dca64677d1644ed6ba39201.tar.gz ports-91c03c3632de824b3dca64677d1644ed6ba39201.zip |
net/samba412: don't use libunwind on architectures that it's not available at
Reported by: jhibbits (for powerpcspe)
Notes
Notes:
svn path=/head/; revision=556601
Diffstat (limited to 'net/samba412')
-rw-r--r-- | net/samba412/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/samba412/Makefile b/net/samba412/Makefile index c4fa4d91ca5b..f5d1434ba4d6 100644 --- a/net/samba412/Makefile +++ b/net/samba412/Makefile @@ -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 @@ -386,6 +384,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 .endif |