chromium-28.0.1500.71 build failed on a system without base gcc
George Liaskos
geo.liaskos at gmail.com
Sun Aug 4 20:28:28 UTC 2013
Unfortunately /usr/bin/gcc is hardcoded, this fixes the build for me
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index dab973d..71c42e4 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -176,7 +176,9 @@ post-patch:
${WRKSRC}/third_party/libvpx/libvpx.gyp \
${WRKSRC}/crypto/crypto.gyp \
${WRKSRC}/v8/tools/gyp/v8.gyp \
- ${WRKSRC}/v8/build/common.gypi
+ ${WRKSRC}/v8/build/common.gypi
+ @${REINPLACE_CMD} -e "s|/usr/bin/gcc|${CC}|" \
+ ${WRKSRC}/third_party/WebKit/Source/core/core.gypi
@${REINPLACE_CMD} -e "s|linux|freebsd|" \
${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py
@${REINPLACE_CMD} -e "s|is_linux|(is_linux or is_bsd)|" \
More information about the freebsd-chromium
mailing list