summaryrefslogtreecommitdiff
path: root/math/crfsuite
diff options
context:
space:
mode:
Diffstat (limited to 'math/crfsuite')
-rw-r--r--math/crfsuite/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/crfsuite/Makefile b/math/crfsuite/Makefile
index 4cf75cab979..1953f2e7095 100644
--- a/math/crfsuite/Makefile
+++ b/math/crfsuite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/10/31 00:54:02 cheusov Exp $
+# $NetBSD: Makefile,v 1.3 2015/03/31 15:49:15 joerg Exp $
DISTNAME= 0.12
PKGNAME= crfsuite-${DISTNAME}
@@ -26,6 +26,12 @@ CONFIGURE_ARGS+= --with-liblbfgs=${PREFIX}
REPLACE_PYTHON= example/*.py
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+= --disable-sse2
+.endif
+
pre-configure:
set -e; cd ${WRKSRC}; autoreconf -sif