Changeset 99012


Ignore:
Timestamp:
Oct 23, 2012, 7:43:25 PM (12 years ago)
Author:
cal@…
Message:

qt4-creator-mac: search in MacPorts path for utilities and tools, closes #36280, maintainer timeout

Location:
trunk/dports/devel/qt4-creator-mac
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/qt4-creator-mac/Portfile

    r98643 r99012  
    77name                qt4-creator-mac
    88version             2.5.2
     9revision            1
    910categories          devel aqua
    1011platforms           darwin
     
    2627# specify that here instead.
    2728patchfiles          patch-remove_build_types.diff \
    28                     patch-servicebrowser_p.h.diff
     29                    patch-servicebrowser_p.h.diff \
     30                    patch-macports-paths.diff
    2931
    3032post-patch {
    3133    # remove arch from QMake build scripts
    3234    reinplace "/ppc/d" ${worksrcpath}/qtcreator.pri
     35
     36    # add MacPorts-specific paths to the list of search paths for Qt binaries
     37    reinplace "s|@@PREFIX@@|${prefix}|" \
     38        ${worksrcpath}/src/libs/utils/environment.cpp
     39    reinplace "s|@@QT_APPS_DIR@@|${qt_apps_dir}|" \
     40        ${worksrcpath}/src/plugins/qtsupport/baseqtversion.cpp
    3341}
    3442
Note: See TracChangeset for help on using the changeset viewer.