[89384] trunk/dports/math

Ryan Schmidt ryandesign at macports.org
Sat Jan 28 06:11:06 PST 2012


On Jan 27, 2012, at 10:33, hum at macports.org wrote:

> Revision: 89384
>          http://trac.macports.org/changeset/89384
> Author:   hum at macports.org
> Date:     2012-01-27 08:33:29 -0800 (Fri, 27 Jan 2012)
> Log Message:
> -----------
> New port: liblbfgs @1.10 - A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)

> Added: trunk/dports/math/liblbfgs/Portfile

> +depends_build       port:libtool
> +
> +patchfiles          patch-autogen.sh.diff
> +
> +pre-configure {
> +    system -W ${worksrcpath} "./autogen.sh"
> +}

Since autogen.sh runs aclocal, autoheader, automake, and autoconf, I think you need a build dependency also on autoconf and automake.

> +variant sse2 description {Enable SSE2} {
> +    configure.args-append  --enable-sse2
> +}
> +
> +default_variants    +sse2

Does this refer to the SSE2 Intel supplementary instruction set? If so, I guess this requires an Intel processor; should it be inside a "platform i386" block so that PowerPC users won't see this variant?




More information about the macports-dev mailing list