[71979] trunk/dports/devel/tbb/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 29 05:37:11 PDT 2010


Revision: 71979
          http://trac.macports.org/changeset/71979
Author:   ryandesign at macports.org
Date:     2010-09-29 05:37:09 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
tbb: fix so running "sudo port configure tbb" followed by "sudo port install tbb" does not fail

Modified Paths:
--------------
    trunk/dports/devel/tbb/Portfile

Modified: trunk/dports/devel/tbb/Portfile
===================================================================
--- trunk/dports/devel/tbb/Portfile	2010-09-29 12:32:42 UTC (rev 71978)
+++ trunk/dports/devel/tbb/Portfile	2010-09-29 12:37:09 UTC (rev 71979)
@@ -28,25 +28,23 @@
                     sha1    0c10aaa7f60762a4a2c2c907a2fee552eba4132c \
                     rmd160  52882e20b0753b669bda60bce7f61f20f3245a86
 
-universal_variant   no
+use_configure       no
 build.target        tbb tbbmalloc
 
-configure {
-    switch ${build_arch} {
-        i386 {
-            set arch_flag intel32
-        }
-        x86_64 {
-            set arch_flag intel64
-        }
-        ppc -
-        ppc64 {
-            set arch_flag ${build_arch}
-        }
+switch ${build_arch} {
+    i386 {
+        set arch_flag intel32
     }
-    build.env-append    arch=${arch_flag}
-    test.env-append     arch=${arch_flag}
+    x86_64 {
+        set arch_flag intel64
+    }
+    ppc -
+    ppc64 {
+        set arch_flag ${build_arch}
+    }
 }
+build.env-append    arch=${arch_flag}
+test.env-append     arch=${arch_flag}
 
 destroot {
     set build_dir [exec sh -c "cd ${worksrcpath} && ${build.env} make info | grep build_prefix | cut -f2 -d'='"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/94ed983c/attachment.html>


More information about the macports-changes mailing list