pkgsrc-Users archive

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

Re: mplayer not building



On Sun, Dec 28, 2008 at 08:13:35PM -0500, Greg Troxel wrote:
I am trying to build mplayer with head pkgsrc on NetBSD 4.99.69 on i386.
It fails trying to link what is apparently pulseaudio symbols.

Here's the reason:

Checking for Polyp ... yes Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'glib-2.0', required by 'libpulse-mainloop-glib', not found

Proposed fix (works for me):

--- multimedia/mplayer-share/options.mk 20 Dec 2008 00:43:47 -0000      1.34
+++ multimedia/mplayer-share/options.mk 30 Dec 2008 17:26:30 -0000
@@ -258,6 +259,7 @@
.if !empty(PKG_OPTIONS:Mpulseaudio)
 CONFIGURE_ARGS+=       --enable-polyp
+.  include "../../devel/glib2/buildlink3.mk"
 .  include "../../audio/pulseaudio/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --disable-polyp

--
Sergey Svishchev

Attachment: pgpbn_6dHBLSa.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index