[41827] trunk/dports/lang/llvm-gcc42/Portfile

erickt at macports.org erickt at macports.org
Mon Nov 10 17:17:05 PST 2008


Revision: 41827
          http://trac.macports.org/changeset/41827
Author:   erickt at macports.org
Date:     2008-11-10 17:17:04 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
llvm-gcc42: Fix a bug where we weren't using the right target triple on leopard.

Modified Paths:
--------------
    trunk/dports/lang/llvm-gcc42/Portfile

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2008-11-11 01:11:32 UTC (rev 41826)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2008-11-11 01:17:04 UTC (rev 41827)
@@ -6,6 +6,7 @@
 
 name                    llvm-gcc42
 version                 2.4
+revision                1
 categories              lang
 platforms               darwin
 maintainers             erickt at macports.org openmaintainer
@@ -34,23 +35,10 @@
 
 configure.args-append   --enable-llvm=${prefix}/lib/llvm/obj \
                         --enable-languages=c,c++,objc,obj-c++ \
-                        --libdir=${prefix}/lib/${name} \
-                        --libexecdir=${prefix}/libexec/${name} \
-                        --includedir=${prefix}/include/${name} \
-                        --infodir=${prefix}/share/info \
-                        --mandir=${prefix}/share/man \
-                        --with-local-prefix=${prefix} \
+												--mandir=${prefix}/share/man \
                         --program-prefix=llvm- \
-                        --program-suffix=-${major} \
-                        --disable-nls
+                        --program-suffix=-${major}
 
-destroot.destdir        prefix=${destroot}${prefix} \
-                        libdir=${destroot}${prefix}/lib/${name} \
-                        libexecdir=${destroot}${prefix}/libexec/${name} \
-                        includedir=${destroot}${prefix}/include/${name} \
-                        infodir=${destroot}${prefix}/share/info \
-                        mandir=${destroot}${prefix}/share/man
-
 post-destroot {
   file delete -force ${destroot}/${prefix}/share/man/man7
   file delete -force ${destroot}/${prefix}/share/info
@@ -66,15 +54,15 @@
   configure.args-append  --with-gxx-include-dir=/usr/include/c++/4.0.0
 }
 
-platform powerpc {
-  set triple powerpc-apple-darwin8
+platform darwin powerpc {
+  set triple powerpc-apple-darwin${os.major}
 
   configure.env-append TRIPLE=${triple}
   configure.post_args  --build=${triple} --host=${triple} --target=${triple}
 }
 
-platform x86 {
-  set triple i686-apple-darwin8
+platform darwin i386 {
+  set triple i686-apple-darwin${os.major}
 
   configure.env-append TRIPLE=${triple} \
                        TARGETOPTIONS="--with-arch=nocona --with-tune=generic"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081110/519fead9/attachment.html>


More information about the macports-changes mailing list