Ticket #21033: mplayer-devel-Portfile.diff

File mplayer-devel-Portfile.diff, 1.5 KB (added by johnrosshunt@…, 15 years ago)

mplayer-devel Portfile diff

  • Portfile

    old new  
    3333
    3434fetch.type          svn
    3535#svn.tag             ${version}
    36 #svn.url             svn://svn.mplayerhq.hu/mplayer/trunk
     36svn.url             svn://svn.mplayerhq.hu/mplayer/trunk
    3737worksrcdir          trunk
    3838
    39 fetch {
    40     system "svn export -r${version} --ignore-externals svn://svn.mplayerhq.hu/mplayer/trunk ${worksrcpath}/"
    41     system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src ${worksrcpath}/libdvdnav/"
    42     system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src ${worksrcpath}/libdvdread4/"
    43     system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec ${worksrcpath}/libavcodec/"
    44     system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavutil ${worksrcpath}/libavutil/"
    45     system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavformat ${worksrcpath}/libavformat/"
    46     system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libpostproc ${worksrcpath}/libpostproc/"
    47 }
    4839# Do not use the following environment variables, otherwise the build phase
    4940# will fail.
    5041configure.cflags    {}
     
    326317    # bits of libstdc++ are needed during linking
    327318    build.env           LD=c++
    328319}
     320
     321platform darwin 10 {
     322    build.env               {}
     323    configure.args-append   --target=x86_64-Darwin --disable-qtx
     324    configure.args-delete   --enable-macosx-bundle --enable-qtx
     325}