Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 18:04:18 +0000 (UTC)
From:      Grzegorz Blach <gblach@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309684 - head/multimedia/mplayer2
Message-ID:  <201212301804.qBUI4Ipu052366@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gblach
Date: Sun Dec 30 18:04:18 2012
New Revision: 309684
URL: http://svnweb.freebsd.org/changeset/ports/309684

Log:
  - Fix build when both audio/portaudio and audio/portaudio2 are installed
  - Remove xvmc option (was removed upstream)
  
  Approved by:	crees (mentor)

Modified:
  head/multimedia/mplayer2/Makefile

Modified: head/multimedia/mplayer2/Makefile
==============================================================================
--- head/multimedia/mplayer2/Makefile	Sun Dec 30 17:57:04 2012	(r309683)
+++ head/multimedia/mplayer2/Makefile	Sun Dec 30 18:04:18 2012	(r309684)
@@ -26,8 +26,10 @@ CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD
 		PTHREAD_LIBS="${PTHREAD_LIBS}" \
 		TMPDIR="${WRKSRC}"
 CONFIGURE_ARGS=	--cc=${CC} \
-		--extra-cflags=-I${LOCALBASE}/include/ffmpeg1 \
-		--extra-ldflags=-L${LOCALBASE}/lib/ffmpeg1 \
+		--extra-cflags='-I${LOCALBASE}/include/ffmpeg1 \
+		-I${LOCALBASE}/include/portaudio2' \
+		--extra-ldflags='-L${LOCALBASE}/lib/ffmpeg1 \
+		-L${LOCALBASE}/lib/portaudio2' \
 		--mandir=${PREFIX}/man \
 		--disable-alsa \
 		--disable-liba52 \
@@ -48,7 +50,7 @@ MAKE_JOBS_SAFE=	yes
 
 OPTIONS_DEFINE=	DEBUG RTC IPV6 SMB JOYSTICK \
 		DVDREAD LIBBLURAY V4L DV THEORA \
-		X11 XVMC XINERAMA OPENGL SDL VDPAU GIF CACA \
+		X11 XINERAMA OPENGL SDL VDPAU GIF CACA \
 		MAD SPEEX LIBCDIO LADSPA REALPLAYER \
 		JACK PULSE PORTAUDIO ASS LIRC
 OPTIONS_DEFAULT=DVDREAD X11 ASS
@@ -244,10 +246,6 @@ USE_XORG+=		xinerama xineramaproto
 .else
 CONFIGURE_ARGS+=	--disable-xinerama
 .endif
-.if ${PORT_OPTIONS:MXVMC}
-USE_XORG+=		xvmc
-CONFIGURE_ARGS+=	--enable-xvmc --with-xvmclib=XvMCW
-.endif
 .else			#WITHOUT_X11
 CONFIGURE_ARGS+=	--disable-x11 --disable-fontconfig
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212301804.qBUI4Ipu052366>