Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 18:39:42 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342587 - head/x11/pixman
Message-ID:  <201402041839.s14IdgAF097754@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Feb  4 18:39:42 2014
New Revision: 342587
URL: http://svnweb.freebsd.org/changeset/ports/342587
QAT: https://qat.redports.org/buildarchive/r342587/

Log:
  Fix SIMD check, and only check MACHINE_CPU if it is defined.

Modified:
  head/x11/pixman/Makefile

Modified: head/x11/pixman/Makefile
==============================================================================
--- head/x11/pixman/Makefile	Tue Feb  4 18:35:58 2014	(r342586)
+++ head/x11/pixman/Makefile	Tue Feb  4 18:39:42 2014	(r342587)
@@ -18,14 +18,16 @@ OPTIONS_DEFINE=	SIMD
 
 .include <bsd.port.options.mk>
 
-.if ! {PORT_OPTIONS:MSIMD}
+.if ! ${PORT_OPTIONS:MSIMD}
 CONFIGURE_ARGS=	--disable-vmx --disable-arm-simd
+. if defined(MACHINE_CPU)
 . if ! ${MACHINE_CPU:Mmmx}
 CONFIGURE_ARGS+=	--disable-mmx
 . endif
 . if ! ${MACHINE_CPU:Msse2}
 CONFIGURE_ARGS+=	--disable-sse2
 . endif
+. endif
 .endif
 
 .include <bsd.port.mk>



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