Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 19:45:03 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505631 - head/graphics/caffe
Message-ID:  <201907011945.x61Jj3js063355@repo.freebsd.org>

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



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