Ticket #17833: gnokii.diff

File gnokii.diff, 850 bytes (added by blb@…, 15 years ago)

diff to gnokii Portfile

  • Portfile

     
    1717checksums               md5 fd1cc8e95e112d7414a8420518b881d6
    1818
    1919depends_lib             lib:gtk.1:gtk1 \
    20                         path:${prefix}/share/libtool/ltmain.sh:libtool
     20                        port:libtool
    2121
    2222configure.args          --disable-shared --disable-nls -enable-security
    2323
     
    2929# the ltmain.sh supplied with gnokii and OSX 10.4 both have problems
    3030platform darwin {
    3131  post-extract {
    32     file copy           -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/config
     32    if {[file exists ${prefix}/share/libtool/config/ltmain.sh]} {
     33      file copy         -force ${prefix}/share/libtool/config/ltmain.sh ${worksrcpath}/config
     34    } else {
     35      file copy         -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/config
     36    }
    3337  }
    3438}