Ticket #44730: doxygen.diff

File doxygen.diff, 2.3 KB (added by KubaO (Kuba Ober), 10 years ago)

A patch to bring doxygen up to 1.8.8.

  • textproc/doxygen/Portfile

    old new  
    44PortSystem              1.0
    55
    66name                    doxygen
    7 version                 1.8.7
     7version                 1.8.8
    88categories              textproc devel
    99maintainers             css openmaintainer
    1010license                 GPL-2
     
    3535distfiles               ${distname}.src${extract.suffix}
    3636
    3737checksums               ${distname}.src${extract.suffix} \
    38                         rmd160  bef0f6dcd4fac3e0bc6126cae23374e960ab9163 \
    39                         sha256  c6eac6b6e82148ae15ec5aecee4631547359f284af1ce94474d046ebca6ee3d9
     38                        rmd160  9f748f424c20259b5df98b05f8c2cf7bf8b85ed4 \
     39                        sha256  d1f978350527a2338199c9abb78f76f10746520de5dc4ae4cdd27fc9df9b19b8
    4040
    4141depends_build-append    bin:perl:perl5 \
    4242                        port:flex \
     
    7171    delete ${worksrcpath}/src/ce_parse.h
    7272    delete ${worksrcpath}/src/vhdlparser.cpp
    7373    delete ${worksrcpath}/src/vhdlparser.h
     74   
     75    # This file should be regenerated, this is a dist packaging bug
     76    delete ${worksrcpath}/src/Makefile.libdoxycfg
    7477}
    7578
    7679set cxx_stdlibflags {}
     
    101104    if {[string match *gcc* ${configure.compiler}]} {
    102105        reinplace "s|-Wno-invalid-source-encoding||g" ${tmake_conf}
    103106    }
     107
     108    # we're using macports libiconv
     109    reinplace "s|^#define LIBICONV_PLUG||" ${worksrcpath}/src/portable_c.c
     110
     111    # get rid of the deployment target selection, it breaks the Mavericks build
     112    if { ${os.major}>=13 } {
     113        reinplace "s|-mmacosx-version-min=10\\.5||" \
     114            ${worksrcpath}/addon/doxmlparser/examples/metrics/Makefile.metrics \
     115            ${worksrcpath}/addon/doxmlparser/src/Makefile.doxmlparser \
     116            ${worksrcpath}/addon/doxmlparser/test/Makefile.xmlparse \
     117            ${worksrcpath}/addon/doxywizard/Makefile.doxywizard \
     118            ${worksrcpath}/libmd5/Makefile.libmd5 \
     119            ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf \
     120            ${worksrcpath}/tmake/lib/macosx-intel-c++/tmake.conf \
     121            ${worksrcpath}/tmake/lib/macosx-uni-c++/tmake.conf \
     122            ${worksrcpath}/vhdlparser/Makefile.vhdlparser
     123    }
    104124}
    105125
    106126build.type              gnu