Ticket #49821: Portfile.diff

File Portfile.diff, 1.7 KB (added by janstary (Jan Starý), 9 years ago)

update to 1.0.26, remove sqlite, comment on the config.h script

  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                libsndfile
    7 version             1.0.25
     7version             1.0.26
    88categories          audio
    99maintainers         stare.cz:hans
    1010platforms           darwin
    depends_lib port:flac port:libog 
    2727
    2828master_sites        ${homepage}files/
    2929
    30 checksums           rmd160  7330ea9fc1cfa3809fa7d2a6e2a0593b6e0233c7 \
    31                     sha256  59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
     30checksums           rmd160 e521b70af27b0a1bd6aebee3b46806d66aac230a \
     31                    sha256 cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092
    3232
    33 patchfiles          fix-include.patch configure.patch
     33patchfiles          carbon.patch speex.patch
    3434
    3535configure.args \
    3636    --disable-alsa \
    configure.args \ 
    4040    --enable-external-libs
    4141
    4242post-configure {
    43     system "ed - ${worksrcpath}/src/config.h < ${filespath}/src__config.h.ed"
     43    # https://trac.macports.org/changeset/42762
     44    # http://www.mega-nerd.com/libsndfile/FAQ.html#Q018
     45    system "ed - ${worksrcpath}/src/config.h < ${filespath}/config.h.ed"
    4446}
    4547
    46 if {[variant_isset no_external_libs] && ![variant_isset sqlite]} {
     48if {[variant_isset no_external_libs]} {
    4749    depends_build-delete port:pkgconfig
    4850}
    4951
    variant octave description {Enable suppo 
    6163    configure.args-append --enable-octave
    6264    configure.args-delete --disable-octave
    6365}
    64 
    65 variant sqlite description {Enable support for SQLite} {
    66     depends_lib-append    port:sqlite3
    67 
    68     configure.args-append --enable-sqlite
    69     configure.args-delete --disable-sqlite
    70 }