Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 12:10:48 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362789 - head/graphics/luxrender
Message-ID:  <201407241210.s6OCAmUY001001@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jul 24 12:10:47 2014
New Revision: 362789
URL: http://svnweb.freebsd.org/changeset/ports/362789
QAT: https://qat.redports.org/buildarchive/r362789/

Log:
  Since v1.55, Boost is built with a modern compiler, which is known to break
  linking with code built with our legacy GCC v4.2.  Switch to dynamic linking
  for Boost libraries as a work-around for infamous "local symbol discarded in
  section `.text...' from some_static_lib.a(some_object.o)" errors.
  
  Reported by:	pkg-fallout

Modified:
  head/graphics/luxrender/Makefile

Modified: head/graphics/luxrender/Makefile
==============================================================================
--- head/graphics/luxrender/Makefile	Thu Jul 24 12:02:32 2014	(r362788)
+++ head/graphics/luxrender/Makefile	Thu Jul 24 12:10:47 2014	(r362789)
@@ -53,6 +53,8 @@ post-patch:
 		${LUXRAYS_WRKSRC}/samples/smallluxgpu4/smallluxgpu.h \
 		${WRKSRC}/core/osfunc.h \
 		${WRKSRC}/shapes/mikktspace/weldmesh.c
+	@${REINPLACE_CMD} -e '/^set(Boost_USE_STATIC_LIBS/s,ON,OFF,' \
+		${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake
 
 pre-configure:
 	cd ${LUXRAYS_WRKSRC} && ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} \



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