Ticket #17213: doxygen.diff

File doxygen.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    3838# setup to work smoothly with Qt3
    3939post-patch {
    4040        reinplace "s|\$(QTDIR)/include|\$(QTDIR)/include/qt3|g" \
    41                 "${worksrcpath}/tmake/lib/macosx-c++/tmake.conf"
     41                ${tmake_conf}
    4242        reinplace "s|@@PREFIX@@|${prefix}|g" \
    4343                ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
    4444        reinplace "s|@@X11PREFIX@@|${x11prefix}|g" \
     
    5252configure.args          --docdir ${prefix}/share/doc --dot ${prefix}/bin/dot
    5353configure.env           QTDIR=${prefix}
    5454
     55post-configure {
     56        reinplace "/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc}%" ${tmake_conf}
     57        reinplace "/^TMAKE_CXX\[\[:space:\]\]/s%=.*%= ${configure.cxx}%" ${tmake_conf}
     58}
     59
    5560build.env               QTDIR=${prefix}
    5661build.target            all
    5762
     
    7479
    7580platform darwin {
    7681        # Specify the platform explicitly to avoid a universal build.
     82        global tmake_conf
     83        set tmake_conf  ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf
    7784        configure.args-append   --platform macosx-c++
    7885        if {[variant_isset wizard]} {
    7986                post-destroot {