aboutsummaryrefslogtreecommitdiff
path: root/irc/weechat
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2017-08-14 15:24:59 +0000
committerBernard Spil <brnrd@FreeBSD.org>2017-08-14 15:24:59 +0000
commit78750990e7acf62599242a21901be01462a3df5c (patch)
treef55e14e3aa1e077c9347c59ab3cae8e02739a41a /irc/weechat
parent874213ec5a8718c7fe183db21bcced0e59412af8 (diff)
downloadports-78750990e7acf62599242a21901be01462a3df5c.tar.gz
ports-78750990e7acf62599242a21901be01462a3df5c.zip
irc/weechat: Depend on libunwind for RUBY
- Ruby on amd64/i386 uses libunwind causing weechat to link it as well Reported by: koobs
Notes
Notes: svn path=/head/; revision=447942
Diffstat (limited to 'irc/weechat')
-rw-r--r--irc/weechat/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index ea246268667d..a5eb588d187e 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -97,6 +97,10 @@ CMAKE_ARGS+= -DENABLE_PYTHON3:BOOL=true \
-DPYTHON_LIBRARY:FILEPATH=${LOCALBASE}/lib/libpython${PYTHON_VER}m.so
.endif
+.if !empty(PORT_OPTIONS:MRUBY) && (${ARCH} == "amd64" || ${ARCH} == "i386")
+LIB_DEPENDS+= libunwind.so:devel/libunwind
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|$${LIBDIR}/../pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/CMakeLists.txt