Ticket #14310: libsvm-symlink.diff

File libsvm-symlink.diff, 723 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)

fix the dylib symlink so it points to the right place

  • Portfile

     
    44
    55name                    libsvm
    66version                 2.85
     7revision                1
    78
    89categories              math
    910maintainers             florian.ebeling@gmail.com
     
    3334    xinstall -m 644 ${worksrcpath}/svm.h ${destroot}${prefix}/include
    3435    xinstall -m 644 ${worksrcpath}/libsvm.${libver}.dylib ${destroot}${prefix}/lib
    3536
    36     ln -sf ${destroot}${prefix}/lib/${name}.${libver}.dylib \
    37                    ${destroot}${prefix}/lib/${name}.dylib
     37    ln -sf ${name}.${libver}.dylib ${destroot}${prefix}/lib/${name}.dylib
    3838
    3939    set docs ${destroot}${prefix}/share/doc/${name}
    4040    xinstall -m 755 -d ${docs}