[88042] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Dec 16 19:08:54 PST 2011


Revision: 88042
          http://trac.macports.org/changeset/88042
Author:   jeremyhu at macports.org
Date:     2011-12-16 19:08:51 -0800 (Fri, 16 Dec 2011)
Log Message:
-----------
ld64: Update to using llvm-3.0 instead of llvm port.  Dev timeout.

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

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2011-12-17 02:57:50 UTC (rev 88041)
+++ trunk/dports/devel/ld64/Portfile	2011-12-17 03:08:51 UTC (rev 88042)
@@ -7,12 +7,14 @@
 
 name                    ld64
 version                 127.2
+revision                1
+set llvm_version        3.0
 categories              devel
 maintainers             mfeiri
 homepage                http://opensource.apple.com/source/${name}/
 master_sites            http://opensource.apple.com/tarballs/${name}/
 license                 APSL-2.0
-depends_build           port:llvm
+depends_build           port:llvm-${llvm_version}
 universal_variant       no
 description             ld64 is the new mach-o linker
 long_description        ld64 combines several object files and libraries, \
@@ -51,12 +53,12 @@
     }
 
     pre-build {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
     pre-destroot {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
 
 }
@@ -105,12 +107,12 @@
     }
 
     pre-build {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
     pre-destroot {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
 
     post-destroot {
@@ -162,12 +164,12 @@
     }
 
     pre-build {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
     pre-destroot {
-        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
-        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config --cflags]'
+        build.env       OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
+        destroot.env    OTHER_CFLAGS='[exec ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags]'
     }
 
     post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111216/813b1bdf/attachment.html>


More information about the macports-changes mailing list