Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 00:07:58 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r448018 - branches/2017Q3/irc/weechat
Message-ID:  <201708160007.v7G07wWW021605@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708160007.v7G07wWW021605>