1 | Index: Portfile |
---|
2 | =================================================================== |
---|
3 | --- Portfile (revision 59903) |
---|
4 | +++ Portfile (working copy) |
---|
5 | @@ -5,14 +5,14 @@ |
---|
6 | PortSystem 1.0 |
---|
7 | |
---|
8 | name mplayer-devel |
---|
9 | -version 29418 |
---|
10 | -revision 1 |
---|
11 | +version 29701 |
---|
12 | +revision 0 |
---|
13 | categories multimedia |
---|
14 | maintainers acho openmaintainer |
---|
15 | platforms darwin |
---|
16 | |
---|
17 | -set dvdnav_ver 1174 |
---|
18 | -set ffmpeg_ver 19425 |
---|
19 | +set dvdnav_ver 1181 |
---|
20 | +set ffmpeg_ver 19964 |
---|
21 | |
---|
22 | description The MPlayer movie player built from SVN. |
---|
23 | long_description ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, \ |
---|
24 | @@ -51,12 +51,14 @@ |
---|
25 | configure.cppflags {} |
---|
26 | configure.cxxflags {} |
---|
27 | configure.ldflags {} |
---|
28 | +configure.cc_archflags {} |
---|
29 | +configure.cxx_archflags {} |
---|
30 | |
---|
31 | # Do not use pipes, otherwise the build phase will fail. |
---|
32 | configure.pipe no |
---|
33 | |
---|
34 | configure.args \ |
---|
35 | - --extra-cflags="-I${prefix}/include/lzo -I${prefix}/include" \ |
---|
36 | + --extra-cflags="-O2 -I${prefix}/include/lzo -I${prefix}/include" \ |
---|
37 | --extra-ldflags="-L${prefix}/lib -L${prefix}/lib/samba3" \ |
---|
38 | --datadir=${prefix}/share/${name} \ |
---|
39 | --confdir=${prefix}/etc/${name} \ |
---|
40 | @@ -326,3 +328,18 @@ |
---|
41 | # bits of libstdc++ are needed during linking |
---|
42 | build.env LD=${configure.cxx} |
---|
43 | } |
---|
44 | + |
---|
45 | +platform darwin 9 { |
---|
46 | + configure.args-delete --extra-cflags="-O2 -I${prefix}/include/lzo -I${prefix}/include" |
---|
47 | + configure.args-append --extra-cflags="-O2 -fomit-frame-pointer -I${prefix}/include/lzo -I${prefix}/include" |
---|
48 | +} |
---|
49 | + |
---|
50 | +platform darwin 10 { |
---|
51 | + if { ${configure.build_arch} == "x86_64" } { |
---|
52 | + configure.args-append --target=x86_64-Darwin |
---|
53 | + } elseif { ${configure.build_arch} == "i386" } { |
---|
54 | + configure.args-append --target=i386-Darwin |
---|
55 | + } |
---|
56 | + configure.args-append --disable-qtx |
---|
57 | + configure.args-delete --enable-macosx-bundle --enable-qtx |
---|
58 | +} |
---|