1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build when both audio/portaudio and audio/portaudio2 are installed

- Remove xvmc option (was removed upstream)

Approved by:	crees (mentor)
This commit is contained in:
Grzegorz Blach 2012-12-30 18:04:18 +00:00
parent 6ee31886c9
commit d5617b8932
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309684

View File

@ -26,8 +26,10 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
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