svn commit: r447942 - head/irc/weechat

Bernard Spil brnrd at FreeBSD.org
Mon Aug 14 15:25:00 UTC 2017


Author: brnrd
Date: Mon Aug 14 15:24:59 2017
New Revision: 447942
URL: https://svnweb.freebsd.org/changeset/ports/447942

Log:
  irc/weechat: Depend on libunwind for RUBY
  
   - Ruby on amd64/i386 uses libunwind causing weechat to link it as well
  
  Reported by:	koobs

Modified:
  head/irc/weechat/Makefile

Modified: head/irc/weechat/Makefile
==============================================================================
--- head/irc/weechat/Makefile	Mon Aug 14 14:46:31 2017	(r447941)
+++ head/irc/weechat/Makefile	Mon Aug 14 15:24:59 2017	(r447942)
@@ -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-all mailing list