diff options
author | kwm <kwm@FreeBSD.org> | 2014-02-05 02:39:42 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-02-05 02:39:42 +0800 |
commit | eb609aa75847a76fcc8b91d94c8e657c18f3d5ca (patch) | |
tree | 38ba2a95157e507e79235084a5769c50ec0244f5 /x11/pixman | |
parent | 7d74617114f4b8c191486e31341698a3fecc0a62 (diff) | |
download | freebsd-ports-gnome-eb609aa75847a76fcc8b91d94c8e657c18f3d5ca.tar.gz freebsd-ports-gnome-eb609aa75847a76fcc8b91d94c8e657c18f3d5ca.tar.zst freebsd-ports-gnome-eb609aa75847a76fcc8b91d94c8e657c18f3d5ca.zip |
Fix SIMD check, and only check MACHINE_CPU if it is defined.
Diffstat (limited to 'x11/pixman')
-rw-r--r-- | x11/pixman/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile index 4787c11a22a1..cd32755053af 100644 --- a/x11/pixman/Makefile +++ b/x11/pixman/Makefile @@ -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> |