Changeset 80165


Ignore:
Timestamp:
Jul 5, 2011, 5:45:34 PM (6 years ago)
Author:
jeremyhu@…
Message:

firefox-x11: Version bump to 5.0 to allow building with clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/firefox-x11/Portfile

    r79735 r80165  
    88set component   firefox
    99categories      www x11
    10 version         4.0.1
     10version         5.0
    1111platforms       darwin
    1212maintainers     jeremyhu openmaintainer
    13 description     Mozilla.org's popular stand-alone web browser, Beta and Release Candidates
     13description     Mozilla.org's popular stand-alone web browser
    1414
    1515long_description \
     
    2727use_bzip2       yes
    2828
    29 checksums           md5     9abda7d23151e97913c8555a64c13f34 \
    30                     sha1    c89bc5106266aa0097a7be15be84555bd2649f03 \
    31                     rmd160  63faaae78b56db407a34454986361212382c838e
    32 
    33 worksrcdir      mozilla-2.0
     29checksums           md5     9f64a01e86a5d424e12a8e3305c5debe \
     30                    sha1    22b7b4751173c2142a0f09cca1aebc717d97b45a \
     31                    rmd160  93d97a01f572f3688b0065c903afc3d7f9260179
     32
     33worksrcdir      mozilla-release
    3434
    3535depends_build \
     
    114114# xpctools and necko-wifi broke in 3.6b1
    115115
     116# BUILD FIX TODO: test clang in XCode 4.0.x
    116117# gcc-4.0 has issues, so force gcc-4.2 on Leopard
    117 # BUILD FIX TODO:
    118 # llvm-gcc-4.2 and clang fail to build due to bad inline asm as of 2011.06.24
    119 # This is an error in the package.
     118# llvm-gcc-4.2 has trouble with some of the mmx asm
     119# recent versions of clang build fine, but older versions were not tested, so
     120# not falling forward to clang yet
    120121if {${configure.compiler} == "gcc-4.0" ||
    121     ${configure.compiler} == "llvm-gcc-4.2" ||
    122     ${configure.compiler} == "clang"} {
    123     configure.compiler gcc-4.2
     122    ${configure.compiler} == "llvm-gcc-4.2"} {
     123    configure.compiler gcc-4.2
     124    if {![file executable ${configure.cc}]} {
     125        depends_build-append port:apple-gcc42
     126        configure.compiler apple-gcc-4.2
     127    }
    124128}
    125129
     
    229233
    230234    reinplace "s:/etc/gre\.:${prefix}/etc/gre.:g" \
    231         ${worksrcpath}/xpcom/build/nsXPCOMPrivate.h \
    232         ${worksrcpath}/xulrunner/app/nsRegisterGREUnix.cpp \
    233         ${worksrcpath}/xulrunner/installer/Makefile.in
     235        ${worksrcpath}/xpcom/build/nsXPCOMPrivate.h
    234236}
    235237
Note: See TracChangeset for help on using the changeset viewer.