Ticket #12159: MPlayer-lzo2.patch
File MPlayer-lzo2.patch, 1.4 KB (added by ecronin (Eric Cronin), 17 years ago) |
---|
-
Portfile
old new 46 46 livecheck.regex MPlayer-(1.0rc\[0-9\]+)\.tar\.bz2 47 47 48 48 depends_lib port:jpeg port:lame port:libiconv port:libmad \ 49 port:libpng port:libvorbis port:lzo port:ncurses \49 port:libpng port:libvorbis port:lzo2 port:ncurses \ 50 50 port:zlib 51 51 52 post-patch { 53 reinplace "s|-llzo|-llzo2|g" ${worksrcpath}/configure 54 reinplace "s|#include <lzo1x.h>|#include <lzoutil.h>\\\n#include <lzo1x.h>|g"\ 55 ${worksrcpath}/libmpcodecs/vd_lzo.c 56 } 57 52 58 # MPlayer's ./configure REALLY does not want you to use ENV for this 53 59 configure.cflags {} 54 60 configure.cxxflags {} … … 56 62 configure.ldflags {} 57 63 58 64 configure.args \ 59 --with-extraincdir=${prefix}/include:${prefix}/include/cdparanoia/interface:${prefix}/include/cdparanoia/paranoia \65 --with-extraincdir=${prefix}/include:${prefix}/include/cdparanoia/interface:${prefix}/include/cdparanoia/paranoia:${prefix}/include/lzo \ 60 66 --with-extralibdir=${prefix}/lib:${prefix}/lib/samba3 \ 61 67 --datadir=${prefix}/share/${name} \ 62 68 --confdir=${prefix}/etc/${name} \