Ticket #14332: Portfile-mplayer.diff

File Portfile-mplayer.diff, 1.2 KB (added by mroman@…, 16 years ago)

changes to mplayer Portfile

  • Portfile

    old new  
    44
    55PortSystem          1.0
    66
    7 name                MPlayer
     7name                mplayer
    88version             1.0rc2
    99revision            2
    1010categories          multimedia
     
    7979
    8080configure.args \
    8181        --with-extraincdir=${prefix}/include/lzo:${prefix}/include \
    82         --with-extralibdir=${prefix}/lib:${prefix}/lib/samba3 \
     82        --with-extralibdir=${prefix}/lib:${prefix}/lib/samba3:${x11prefix}/lib \
    8383        --datadir=${prefix}/share/${name} \
    8484        --confdir=${prefix}/etc/${name} \
    8585        --mandir=${prefix}/share/man \
     
    318318    configure.args-delete   --disable-esd
    319319}
    320320
     321variant live \
     322    description {Enable LIVE555 Streaming Media} {
     323    depends_lib-append      port:live555
     324    configure.args-delete   --disable-live
     325}
     326
     327variant gui \
     328    description {Enable GUI} {
     329    configure.args-append   --enable-gui
     330}
    321331
    322332platform macosx {
    323333    configure.args-append   --enable-macosx --enable-macosx-finder-support \
    324334                            --enable-macosx-bundle --enable-qtx
     335    configure.ldflags-append "-framework AppKit"
    325336}
    326337
    327338platform darwin {