svn commit: r379539 - head/misc/libeatmydata

Sean Bruno sbruno at FreeBSD.org
Sat Feb 21 17:50:39 UTC 2015


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


More information about the svn-ports-head mailing list