[89433] trunk/dports/math/liblbfgs/Portfile

hum at macports.org hum at macports.org
Sat Jan 28 18:20:36 PST 2012


Revision: 89433
          http://trac.macports.org/changeset/89433
Author:   hum at macports.org
Date:     2012-01-28 18:20:32 -0800 (Sat, 28 Jan 2012)
Log Message:
-----------
liblbfgs: fix depends_build; declare "sse2" variant in a "platform i386" block; see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017559.html.

Modified Paths:
--------------
    trunk/dports/math/liblbfgs/Portfile

Modified: trunk/dports/math/liblbfgs/Portfile
===================================================================
--- trunk/dports/math/liblbfgs/Portfile	2012-01-28 22:42:34 UTC (rev 89432)
+++ trunk/dports/math/liblbfgs/Portfile	2012-01-29 02:20:32 UTC (rev 89433)
@@ -20,7 +20,9 @@
 checksums           rmd160  3fc1f7e7f3b46100a1ca856a082b5975ab4ceda2 \
                     sha256  ba6d8ef191c34c289f34645462ecfb8209099ad88a7a45788004841776de0a9f
 
-depends_build       port:libtool
+depends_build       port:libtool  \
+                    port:autoconf \
+                    port:automake
 
 patchfiles          patch-autogen.sh.diff
 
@@ -28,8 +30,10 @@
     system -W ${worksrcpath} "./autogen.sh"
 }
 
-variant sse2 description {Enable SSE2} {
-    configure.args-append  --enable-sse2
+platform i386 {
+    variant sse2 description {Enable SSE2} {
+        configure.args-append  --enable-sse2
+    }
+
+    default_variants    +sse2
 }
-
-default_variants    +sse2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120128/5b627447/attachment-0001.html>


More information about the macports-changes mailing list