diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-31 15:49:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-31 15:49:15 +0000 |
commit | 72f193582febab62d013d013c659480d021da60b (patch) | |
tree | c87ef96b008e0f149e488be1203d49b2687550d2 /math | |
parent | b64369a8b48433f3a05b2372d1f48df2f00ae0a8 (diff) | |
download | pkgsrc-72f193582febab62d013d013c659480d021da60b.tar.gz |
SSE2 support only makes sense on X86, but configure doesn't really
check. Use a blunt object to help it.
Diffstat (limited to 'math')
-rw-r--r-- | math/crfsuite/Makefile | 8 |
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 |