pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/crfsuite SSE2 support only makes sense on X86, bu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b09b439354fe
branches: trunk
changeset: 649088:b09b439354fe
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Mar 31 15:49:15 2015 +0000
description:
SSE2 support only makes sense on X86, but configure doesn't really
check. Use a blunt object to help it.
diffstat:
math/crfsuite/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 8c1899d76035 -r b09b439354fe math/crfsuite/Makefile
--- a/math/crfsuite/Makefile Tue Mar 31 15:48:32 2015 +0000
+++ b/math/crfsuite/Makefile Tue Mar 31 15:49:15 2015 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index