aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libeatmydata/Makefile
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-02-22 01:50:38 +0800
committersbruno <sbruno@FreeBSD.org>2015-02-22 01:50:38 +0800
commitaa09e711ad5f24b92b50672918d3537cf8e94666 (patch)
treeb5e18f8e30698fa96d88bce7b8d7df1623d28f9b /misc/libeatmydata/Makefile
parent75e009034123a93bed6b03bb450ef02e0f8f90e1 (diff)
downloadfreebsd-ports-gnome-aa09e711ad5f24b92b50672918d3537cf8e94666.tar.gz
freebsd-ports-gnome-aa09e711ad5f24b92b50672918d3537cf8e94666.tar.zst
freebsd-ports-gnome-aa09e711ad5f24b92b50672918d3537cf8e94666.zip
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)
Diffstat (limited to 'misc/libeatmydata/Makefile')
-rw-r--r--misc/libeatmydata/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/libeatmydata/Makefile b/misc/libeatmydata/Makefile
index 44e18eb3680e..542d65547bbf 100644
--- a/misc/libeatmydata/Makefile
+++ b/misc/libeatmydata/Makefile
@@ -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