Changeset 28298


Ignore:
Timestamp:
Aug 27, 2007, 11:40:35 PM (13 years ago)
Author:
mww@…
Message:

use configure.compiler instead

Location:
trunk/dports/lang
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/gcc40/Portfile

    r27041 r28298  
    4242}
    4343
     44#patchfiles             patch-config-i386-darwin.h
     45#patch.dir              ${workpath}/gcc-${version}
     46
    4447configure.cmd   ${workpath}/gcc-${version}/configure
    4548configure.args  --enable-languages=c,c++,java,objc,f95 \
     
    7780
    7881platform darwin 8 {
    79         configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     82        configure.compiler      gcc-4.0
    8083}
    8184
  • trunk/dports/lang/gcc41/Portfile

    r27040 r28298  
    6767        file delete -force share/man/man7
    6868        file delete -force share/info
     69        foreach b { c++ cpp fastjar g++ gcc gccbug gcj gcjh gcov gfortran gjnih grepjar } {
     70                system "cd ${destroot}${prefix}/bin && ln -s ${b}-mp-4.1 ${b}-dp-4.1"
     71        }
    6972}
    7073
    7174platform darwin 8 {
    72         configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     75        configure.compiler      gcc-4.0
    7376}
    7477
  • trunk/dports/lang/gcc42/Portfile

    r27268 r28298  
    4040worksrcdir              build
    4141
     42patch {
     43        # fix names of infopages
     44        foreach f { cpp cppinternals gcc gccint} {
     45                reinplace "s|${f}.info|${f}-mp-${version}.info|g" ${workpath}/gcc-${version}/gcc/doc/${f}.texi
     46        }
     47}
     48
    4249pre-configure {
    4350        file mkdir ${worksrcpath}
     
    6269build.args              -j 2
    6370
     71destroot.target         install install-info-host
     72
    6473post-destroot {
    65         file delete -force ${destroot}${prefix}/share/man/man7 \
    66                 ${destroot}${prefix}/share/info
     74        file delete -force ${destroot}${prefix}/share/man/man7
     75#               ${destroot}${prefix}/share/info
    6776}
    6877
     
    7483
    7584platform darwin 8 {
    76         configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     85        configure.compiler      gcc-4.0
    7786}
    7887
  • trunk/dports/lang/gcc43/Portfile

    r28272 r28298  
    7575
    7676platform darwin 8 {
    77         configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     77        configure.compiler      gcc-4.0
    7878}
    7979
Note: See TracChangeset for help on using the changeset viewer.