Ticket #12266: wxWidgets.patch

File wxWidgets.patch, 666 bytes (added by takanori@…, 17 years ago)

Here is a patch to fix this problem.

  • Portfile

     
    44
    55name                    wxWidgets
    66version                 2.8.4
    7 revision                2
     7revision                3
    88categories              graphics devel
    99platforms               darwin
    1010maintainers             mww@macports.org jwa
     
    9191        readme-gtk.txt readme-mac.txt \
    9292        readme-mgl.txt readme-motif.txt readme-x11.txt \
    9393        ${destroot}${prefix}/share/doc/${name}
     94    reinplace "s|-L${worksrcpath}/lib||" ${destroot}${prefix}/lib/wx/config/mac-unicode-release-2.8
    9495    system "cd ${destroot}${prefix}/bin && \
    9596                ln -sf ${prefix}/lib/wx/config/mac-unicode-release-2.8 wx-config"
    9697}