aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-08-09 05:13:31 +0800
committermarcus <marcus@FreeBSD.org>2009-08-09 05:13:31 +0800
commit583734987c479770a71f46f93706af2f7b7f34d7 (patch)
tree4452dd3133f8306e06db22f20f9aad043342c294 /x11
parent600d005f3af983671f3fd7e21aa7e2f3a67b060a (diff)
downloadfreebsd-ports-gnome-583734987c479770a71f46f93706af2f7b7f34d7.tar.gz
freebsd-ports-gnome-583734987c479770a71f46f93706af2f7b7f34d7.tar.zst
freebsd-ports-gnome-583734987c479770a71f46f93706af2f7b7f34d7.zip
Correct the logic of the SIMD option so that packages are not built with
unwanted optimizations. PR: 137114 Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/babl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/babl/Makefile b/x11/babl/Makefile
index 6615e3af3379..e7b0a1b86fd2 100644
--- a/x11/babl/Makefile
+++ b/x11/babl/Makefile
@@ -31,10 +31,10 @@ OPTIONS= SIMD "Use cpu-specific optimizations if available" off
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_SIMD)
-CONFIGURE_ARGS+=--enable-mmx \
- --enable-sse \
- --enable-altivec
+.if defined(WITHOUT_SIMD)
+CONFIGURE_ARGS+=--disable-mmx \
+ --disable-sse \
+ --disable-altivec
.endif
.include <bsd.port.post.mk>