On Mon, Jul 25, 2005 at 06:21:23PM +0200, Nikolay Sturm wrote:
> * steven mestdagh [2005-07-25]:
> > why don't you just fetch the mplayer...-no_x11.tgz package and install
> > it with pkg_add(1) ?
> 
> And how would that help? The package still depends on lame which in turn
> depends on X11.

of course, sorry. this diff should fix it.

steven
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/mplayer/Makefile,v
retrieving revision 1.83
diff -u -r1.83 Makefile
--- Makefile    9 May 2005 12:24:38 -0000       1.83
+++ Makefile    25 Jul 2005 16:38:49 -0000
@@ -40,7 +40,6 @@
 
 LIB_DEPENDS=   png::graphics/png \
                jpeg::graphics/jpeg \
-               mp3lame::audio/lame \
                ungif::graphics/libungif \
                
cdda_paranoia,cdda_interface:cdparanoia->=3.a9.8:audio/cdparanoia
 
@@ -105,12 +104,14 @@
                --disable-x11 \
                --disable-fontconfig \
                --disable-freetype
+LIB_DEPENDS+=  mp3lame::audio/lame,no_x11
 .  endif
 .else
 CONFIGURE_ARGS+=--enable-gui \
                --enable-gl
 USE_X11=       Yes
-LIB_DEPENDS+=  gtk,gdk::x11/gtk+
+LIB_DEPENDS+=  gtk,gdk::x11/gtk+ \
+               mp3lame::audio/lame
 BUILD_DEPENDS+=        :pkgconfig->=0.15.0p0:devel/pkgconfig
 WANTLIB+=      GL X11 Xext Xi Xinerama Xv Xxf86dga Xxf86vm glib gmodule intl 
 WANTLIB+=      freetype fontconfig

Reply via email to