New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81012


Ignore:
Timestamp:
07/22/11 19:30:05 (4 years ago)
Author:
takeshi@…
Message:

qt3: use configure.cc etc. fixed for Lion

Location:
trunk/dports/x11/qt3
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/qt3/Portfile

    r79113 r81012  
    77conflicts       qt3-mac qt4-mac qt4-mac-devel 
    88version         3.3.8 
    9 revision        10 
     9revision        11 
    1010categories      x11 
    1111maintainers     nomaintainer 
     
    110110        file attributes ${worksrcpath}/${file} -permissions 0755 
    111111    } 
     112    if {${os.major}>=11 && ${configure.build_arch} == "x86_64"} { 
     113        system "perl -pi -e \"s,\\(int\\)owner\\, \\(int\\),\\(long\\)owner\\, \\(long\\),g\" ${worksrcpath}/src/tools/qmutex_unix.cpp" 
     114    } 
     115    reinplace "s|pipe|pipe ${configure.cflags}|" ${worksrcpath}/mkspecs/darwin-g++/qmake.conf 
     116    reinplace "s|gcc-4.0|${configure.cc}|g" ${worksrcpath}/mkspecs/darwin-g++/qmake.conf 
     117    reinplace "s|g++-4.0|${configure.cxx}|g" ${worksrcpath}/mkspecs/darwin-g++/qmake.conf 
     118    reinplace "s|\\.dylib$|.dylib ${configure.cc_archflags}|g" ${worksrcpath}/mkspecs/darwin-g++/qmake.conf 
    112119} 
    113120 
     
    193200} 
    194201 
    195 platform darwin 10 { 
    196     pre-patch { 
    197         if {${configure.build_arch} == "x86_64"} { 
    198             patchfiles-append   x86_64/patch-mkspecs_darwin-g++_qmake.conf.diff 
    199         } 
    200     } 
    201     post-patch { 
    202         if {${configure.build_arch} == "x86_64"} { 
    203             system "perl -pi -e \"s,\\(int\\)owner\\, \\(int\\),\\(long\\)owner\\, \\(long\\),g\" ${worksrcpath}/src/tools/qmutex_unix.cpp" 
    204         } 
    205     } 
    206 } 
    207  
    208202livecheck.type  regex 
    209203livecheck.url   http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/ 
Note: See TracChangeset for help on using the changeset viewer.