Ticket #16666: apple-gcc42-ryandesign-cxx.diff

File apple-gcc42-ryandesign-cxx.diff, 935 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)

patch to enable C++ support

  • Portfile

     
    2425configure.dir           ${workpath}/build
    2526configure.cmd           ${worksrcpath}/configure
    2627configure.pre_args      --prefix=${nprefix}
    27 # C++ support breaks the build
    28 configure.args          --enable-languages=c,objc \
     28configure.args          --enable-languages=c,objc,c++,obj-c++ \
    2929                        --program-suffix=-apple-4.2
    3030configure.cflags
    3131configure.ldflags
     
    3939post-destroot {
    4040        file delete -force \
    4141                ${destroot}${nprefix}/man ${destroot}${nprefix}/info
    42         system "cd ${destroot}${prefix}/bin && ln -sf ${nprefix}/bin/gcc-apple-4.2 && ln -sf ${nprefix}/bin/cpp-apple-4.2"
     42        system "cd ${destroot}${prefix}/bin && ln -sf ${nprefix}/bin/gcc-apple-4.2 && ln -sf ${nprefix}/bin/cpp-apple-4.2 && ln -sf ${nprefix}/bin/g++-apple-4.2 && ln -sf ${nprefix}/bin/c++-apple-4.2"
    4343}
    4444
    4545livecheck.check         moddate