aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-01-20 16:32:06 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-01-20 16:32:06 +0000
commitf5aa5faf9446c99bcb652353bfcc74a3582a7dc2 (patch)
tree16ab2df1fa8528b700b24dabdb7754a50db87448 /x11
parent6ed7c761bd1ebe51b9510d62b77bf28fff915e9d (diff)
downloadports-f5aa5faf9446c99bcb652353bfcc74a3582a7dc2.tar.gz
ports-f5aa5faf9446c99bcb652353bfcc74a3582a7dc2.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/pixman/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index 9cd6c9f82e8d..ea5530f224bf 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -17,17 +17,18 @@ USE_AUTOTOOLS= libtool
USE_PERL5_BUILD=yes
USE_GNOME= ltverhack:9
-OPTIONS= SIMD "Enable autodetection of SIMD features (MMX, SSE2, VMX)" off
+OPTIONS= SIMD "Enable SIMD features autodetection (MMX, SSE2, VMX)" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SIMD)
CONFIGURE_ARGS= --disable-vmx --disable-arm-simd
-
-.if ${ARCH:Namd64}
-CONFIGURE_ARGS+= --disable-mmx --disable-sse2
-.endif
-
+. if ! ${MACHINE_CPU:Mmmx}
+CONFIGURE_ARGS+= --disable-mmx
+. endif
+. if ! ${MACHINE_CPU:Msse2}
+CONFIGURE_ARGS+= --disable-sse2
+. endif
.endif
post-patch: