Ticket #17602: Portfile-strigi.diff

File Portfile-strigi.diff, 824 bytes (added by etphipp@…, 15 years ago)

Patch to override paths to iconv, xml2

  • Portfile

    old new  
    3232# things because the build and destroot phases can be left at the default
    3333# values.
    3434
     35# Override paths to libiconv, libxml2 to prevent cmake from finding
     36# the system versions in /Library/Frameworks
     37configure.args-append -DICONV_INCLUDE_DIR:PATH=/opt/local/include
     38configure.args-append -DICONV_LIBRARIES:FILEPATH=/opt/local/lib/libiconv.dylib
     39configure.args-append -DLIBXML2_INCLUDE_DIR:PATH=/opt/local/include/libxml2
     40configure.args-append -DLIBXML2_LIBRARIES:FILEPATH=/opt/local/lib/libxml2.dylib
     41
    3542post-destroot   {
    3643                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    3744                xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name}