svn commit: r505631 - head/graphics/caffe

Piotr Kubaj pkubaj at FreeBSD.org
Mon Jul 1 19:45:04 UTC 2019


Author: pkubaj
Date: Mon Jul  1 19:45:03 2019
New Revision: 505631
URL: https://svnweb.freebsd.org/changeset/ports/505631

Log:
  graphics/caffe: respect CXX
  
  Replace %%CXX%% with the actual value of ${CXX}, not just clang++.
  
  This fixes build on GCC architectures.
  
  PR:		238884
  Approved by:	mat (mentor), portmgr (blanket: ports compliance), eric at camachat.org (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D20807

Modified:
  head/graphics/caffe/Makefile

Modified: head/graphics/caffe/Makefile
==============================================================================
--- head/graphics/caffe/Makefile	Mon Jul  1 19:04:54 2019	(r505630)
+++ head/graphics/caffe/Makefile	Mon Jul  1 19:45:03 2019	(r505631)
@@ -59,7 +59,7 @@ post-extract:
 
 post-patch:
 	@${REINPLACE_CMD} \
-	-e "s|%%CXX%%|clang++|g" \
+	-e "s|%%CXX%%|${CXX}|g" \
 	-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
 	-e "s|%%DATADIR%%|${DATADIR}|g" \
 	-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \


More information about the svn-ports-head mailing list