svn commit: r448018 - branches/2017Q3/irc/weechat
Mark Felder
feld at FreeBSD.org
Wed Aug 16 00:07:59 UTC 2017
Author: feld
Date: Wed Aug 16 00:07:58 2017
New Revision: 448018
URL: https://svnweb.freebsd.org/changeset/ports/448018
Log:
MFH: r447942
irc/weechat: Depend on libunwind for RUBY
- Ruby on amd64/i386 uses libunwind causing weechat to link it as well
Reported by: koobs
Approved by: port-secteam (with hat)
Modified:
branches/2017Q3/irc/weechat/Makefile
Directory Properties:
branches/2017Q3/ (props changed)
Modified: branches/2017Q3/irc/weechat/Makefile
==============================================================================
--- branches/2017Q3/irc/weechat/Makefile Tue Aug 15 23:43:24 2017 (r448017)
+++ branches/2017Q3/irc/weechat/Makefile Wed Aug 16 00:07:58 2017 (r448018)
@@ -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
More information about the svn-ports-branches
mailing list