Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2015 17:50:39 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379539 - head/misc/libeatmydata
Message-ID:  <201502211750.t1LHodrP077182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Sat Feb 21 17:50:38 2015
New Revision: 379539
URL: https://svnweb.freebsd.org/changeset/ports/379539
QAT: https://qat.redports.org/buildarchive/r379539/

Log:
  Allow the CC expansion to deal with a full path to a compiler.  This
  fixes building with an external toolchain where CC=/nxb-bin/usr/bin/cc
  when used via poudriere + qemu-bsd-user.
  
  PR:		196986
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/misc/libeatmydata/Makefile

Modified: head/misc/libeatmydata/Makefile
==============================================================================
--- head/misc/libeatmydata/Makefile	Sat Feb 21 17:36:44 2015	(r379538)
+++ head/misc/libeatmydata/Makefile	Sat Feb 21 17:50:38 2015	(r379539)
@@ -18,7 +18,7 @@ PLIST_FILES=	lib/libeatmydata.so \
 		lib/libeatmydata.so.1.0
 
 post-patch:
-	${SED} -i '' -e 's/gcc/${CC}/' ${WRKSRC}/Makefile
+	${SED} -i '' -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib



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