diff --git a/math/crfsuite/Portfile b/math/crfsuite/Portfile index 5dc6a5c747d76..d3c633d4a77d4 100644 --- a/math/crfsuite/Portfile +++ b/math/crfsuite/Portfile @@ -13,11 +13,11 @@ long_description CRFsuite is an implementation of Conditional Random Fields ( for labeling sequential data. homepage http://www.chokkan.org/software/crfsuite/ -platforms darwin license BSD checksums rmd160 ba5e127e3d8e5d1bb2a344e7e96259bb328f9bb7 \ - sha256 8931f215e6f9b230cc2dc440fcd890c37afa3b1df3e8da512c7e74cafba8f0c5 + sha256 8931f215e6f9b230cc2dc440fcd890c37afa3b1df3e8da512c7e74cafba8f0c5 \ + size 244953 depends_build port:libtool \ port:autoconf \ @@ -34,6 +34,12 @@ pre-configure { configure.args --with-liblbfgs=${prefix} +# https://github.com/chokkan/crfsuite/issues/126 +if {${configure.build_arch} ni [list i386 x86_64]} { + configure.args-append \ + --disable-sse2 +} + post-destroot { # install additional documents. set dest_doc ${destroot}${prefix}/share/doc/${name}