Ticket #49821: Portfile.diff
File Portfile.diff, 1.7 KB (added by janstary (Jan Starý), 9 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name libsndfile 7 version 1.0.2 57 version 1.0.26 8 8 categories audio 9 9 maintainers stare.cz:hans 10 10 platforms darwin … … depends_lib port:flac port:libog 27 27 28 28 master_sites ${homepage}files/ 29 29 30 checksums rmd160 7330ea9fc1cfa3809fa7d2a6e2a0593b6e0233c7\31 sha256 59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa488230 checksums rmd160 e521b70af27b0a1bd6aebee3b46806d66aac230a \ 31 sha256 cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092 32 32 33 patchfiles fix-include.patch configure.patch33 patchfiles carbon.patch speex.patch 34 34 35 35 configure.args \ 36 36 --disable-alsa \ … … configure.args \ 40 40 --enable-external-libs 41 41 42 42 post-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" 44 46 } 45 47 46 if {[variant_isset no_external_libs] && ![variant_isset sqlite]} {48 if {[variant_isset no_external_libs]} { 47 49 depends_build-delete port:pkgconfig 48 50 } 49 51 … … variant octave description {Enable suppo 61 63 configure.args-append --enable-octave 62 64 configure.args-delete --disable-octave 63 65 } 64 65 variant sqlite description {Enable support for SQLite} {66 depends_lib-append port:sqlite367 68 configure.args-append --enable-sqlite69 configure.args-delete --disable-sqlite70 }