Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2011 22:33:25 +0200
From:      Rene Ladan <rene@freebsd.org>
To:        freebsd-chromium@freebsd.org
Cc:        "Y. A." <nexther0@gmail.com>
Subject:   Re: fixes for Makefile pkg-plist and build-in ffmpeg
Message-ID:  <4D8F9F15.6010100@freebsd.org>
In-Reply-To: <4D8F255F.9080605@freebsd.org>
References:  <AANLkTik5FbEcH8nB2SUtHNZYiLnaSVF1x1HmjcW0baO2@mail.gmail.com> <4D8F255F.9080605@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050501030205090105030702
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

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)

--------------050501030205090105030702
Content-Type: text/plain;
 name="binutils-1.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="binutils-1.diff"

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>

--------------050501030205090105030702--



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