Ticket #10798: mpd.patch

File mpd.patch, 1.3 KB (added by ehainry@…, 18 years ago)

I retested platform macosx, it worked (maybe an incompatibility with the older mpc version was causing problems before)

  • Portfile

    old new  
    11
    22PortSystem 1.0
    33name             mpd
    4 version          0.11.5
     4version          0.12.0
     5revision         1
    56categories       audio
    67maintainers      ehainry@free.fr
    78description      Music Player Daemon
     
    1415        frontend options, or restart X often.
    1516homepage         http://www.musicpd.org/
    1617platforms        darwin
    17 master_sites     http://mercury.chem.pitt.edu/~shank/
    18 checksums        md5 1a9a1a9d31f00a43838b3752024f7ebe
     18master_sites     ${homepage}/uploads/files/
     19checksums        md5 6570b10cdd5d778a1f697865d8268e4f
    1920depends_lib      lib:libmad.0:libmad \
    2021                 lib:libid3tag.0:libid3tag \
    21                  lib:libao.2:libao
    22 configure.args   --mandir=${prefix}/share/man
     22                 port:libiconv port:pkgconfig port:zlib \
     23                 port:libogg port:libvorbis \
     24                 port:libao
     25configure.args   --mandir=${prefix}/share/man --enable-id3 --enable-ao
    2326configure.env    CFLAGS="-I${prefix}/include" \
    2427                 LDFLAGS="-L${prefix}/lib"
     28platform macosx {
     29        configure.args-delete --enable-ao
     30        configure.args-append --disable-ao
     31        depends_lib-delete port:libao
     32}
     33