svn commit: r342587 - head/x11/pixman

Koop Mast kwm at FreeBSD.org
Tue Feb 4 18:39:42 UTC 2014


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>


More information about the svn-ports-head mailing list