fixes for Makefile pkg-plist and build-in ffmpeg
Rene Ladan
rene at freebsd.org
Sun Mar 27 20:33:30 UTC 2011
Op 27-03-2011 13:54, Rene Ladan schreef:
[..]
> My 8.2-STABLE i386 tinderbox complains about unrecognized instructions
> (pabsw, pmulhrsw, palignr) during the build and decides to give up
> prematurely. This is with:
>
[..]
> Full log at
> http://rene-ladan.nl:8080/tb/errors/8-FreeBSD/chromium-10.0.648.204.log
>
> Maybe this is binutils related (that build uses 2.15 since there is no
> dependency on binutils from ports).
>
A (partial) patch for this is attached. I guess some gyp files need to
be updated too?
Regards,
René
--
http://www.rene-ladan.nl:8080/
GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 126)
+++ Makefile (working copy)
@@ -51,6 +51,12 @@
LICENSE_COMB= multi
LICENSE= BSD LGPL21 MPL
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900033
+USE_BINUTILS= yes
+.endif
+
DESKTOP_ENTRIES="Chromium" "${COMMENT}" "${DATADIR}/product_logo_48.png" \
"chrome" "Application;Network;WebBrowser;" true
@@ -168,4 +174,4 @@
cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} "locales resources" ${DATADIR}
${LN} -sf ${DATADIR}/chrome ${PREFIX}/bin/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the freebsd-chromium
mailing list