cvs commit: ports/www/chromium Makefile

Alexey Dokuchaev danfe at FreeBSD.org
Fri Apr 8 02:30:21 UTC 2011


On Fri, Apr 08, 2011 at 02:24:59AM +0000, Alexey Dokuchaev wrote:
> I've been thinking about this as well.  However, instead of bringing back
> this OPTION, I'd suggest adding "|| defined(PACKAGE_BUILDING)" to that
> .if to ensure that packages are can be safely run on pre-SSE2 CPUs.

Diff attached, seems to DTRT.

./danfe
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/danfe/fbsd/FreeBSD-CVS/ports/www/chromium/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	7 Apr 2011 22:39:08 -0000	1.19
+++ Makefile	8 Apr 2011 02:26:26 -0000
@@ -92,7 +92,7 @@
 GYP_DEFINES+=	use_gconf=0
 .endif
 
-.if ! ${MACHINE_CPU:Msse2}
+.if ! ${MACHINE_CPU:Msse2} || defined(PACKAGE_BUILDING)
 GYP_DEFINES+=	disable_sse2=1
 .endif
 


More information about the cvs-all mailing list