Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 08:04:04 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467687 - head/graphics/caffe
Message-ID:  <201804180804.w3I844vL003943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 18 08:04:04 2018
New Revision: 467687
URL: https://svnweb.freebsd.org/changeset/ports/467687

Log:
  graphics/caffe: unbreak with boost 1.67
  
  /usr/local/bin/ld: cannot find -lboost_python
  clang++: error: linker command failed with exit code 1 (use -v to see invocation)
  gmake[1]: *** [Makefile:508: python/caffe/_caffe.so] Error 1
  
  PR:		227427
  Reported by:	antoine (via exp-run)

Modified:
  head/graphics/caffe/Makefile   (contents, props changed)

Modified: head/graphics/caffe/Makefile
==============================================================================
--- head/graphics/caffe/Makefile	Wed Apr 18 07:44:00 2018	(r467686)
+++ head/graphics/caffe/Makefile	Wed Apr 18 08:04:04 2018	(r467687)
@@ -43,6 +43,7 @@ USE_PYTHON=	flavors cython
 CXXFLAGS+=	-DGTEST_USE_OWN_TR1_TUPLE=1
 LDFLAGS+=	-DGTEST_USE_OWN_TR1_TUPLE=1
 LDFLAGS+=	-lboost_thread
+MAKE_ENV+=	PYTHON_LIBRARIES="${PY_BOOST_LIB} ${PYTHON_VERSION}"
 MAKE_ARGS+=	DISTRIBUTE_DIR=${STAGEDIR}${PREFIX}
 ALL_TARGET=	all py
 INSTALL_TARGET=	dist



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