Ignore:
Timestamp:
Feb 9, 2009, 11:34:25 PM (11 years ago)
Author:
jmr@…
Message:

libao: use port: style depspec, add esd variant description, simplify usage of darwin platform variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/libao/Portfile

    r34905 r46663  
    3131                 --disable-oss --disable-X
    3232
    33 post-destroot {
    34         if [variant_isset darwin] {
    35         system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
    36         }
    37 }
    38 
    3933platform darwin 6 {
    4034        depends_lib-append lib:libdl:dlcompat
     
    4236
    4337platform darwin {
     38    post-destroot {
     39        system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
     40    }
    4441}
    4542
    46 variant esd {
    47     depends_lib-append    lib:libesd.0:esound
     43variant esd description {Enable Enlightened Sound Daemon support} {
     44    depends_lib-append    port:esound
    4845    configure.args-delete --disable-esd
    4946    configure.args-append --enable-esd
Note: See TracChangeset for help on using the changeset viewer.