Ticket #10905: libsndfile-no_flac.diff

File libsndfile-no_flac.diff, 673 bytes (added by cssdev, 17 years ago)

Recommended to create a no_flac variant instead of relying on default variants.

  • Portfile

     
    1616platforms       darwin
    1717master_sites    ${homepage}
    1818checksums       md5 2d126c35448503f6dbe33934d9581f6b
    19 configure.args  --mandir=${prefix}/share/man --disable-flac
     19configure.args  --mandir=${prefix}/share/man --enable-flac
     20depends_lib     port:flac
    2021
    21 default_variants        +flac
    22 
    23 variant flac {
    24         depends_lib     port:flac
    25         configure.args-delete   --disable-flac
    26         configure.args-append   --enable-flac
     22variant no_flac {
     23        depends_lib-delete      port:flac
     24        configure.args-delete   --enable-flac
     25        configure.args-append   --disable-flac
    2726}
    2827