pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/gmplayer broken for several weeks now



David Howland wrote:
> Well, I did what you said, I edited /usr/pkg/lib/pkgconfig/xrandr.pc and 
> removed '-O2' and '-march=pentium3' from the Cflags: line.
> That seemed to fix it.
 
> Therefore, I have two questions for you.
> 1) how did you know to look at that file?

MPlayer wouldn't have picked those incompatible flags. I just know that
pkg-config is used by a couple of libraries. I had noticed such flags whenever
compiling against Gtk+ 2.x. So I just grepped for these flags in
/usr/pkg/lib/pkgconfig and found the culprit.

> 2) how do we fix it?

Maybe your patch should be applied anyway but you could also ask the
MPlayer developers about this.

> I am thinking that I should just stop using cpuflags.  I'm starting to 
> think it causes more problems than it is worth.  Would this be the 
> advised course of action?

MPlayer is pretty much the only package I know of which has problems
with this. It might be best to strip -m*/-f*/-O* from CFLAGS just for
MPlayer at least by default.

-- 
Christian



Home | Main Index | Thread Index | Old Index