svn commit: r467687 - head/graphics/caffe

Jan Beich jbeich at FreeBSD.org
Wed Apr 18 08:04:06 UTC 2018


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


More information about the svn-ports-head mailing list