1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Prevent x264 to link to ffmpeg if ffmpeg is already installed on the system which will lead to a circular dependencies which is revealed by pkg autodeps functionnality

Reported by:	kwm
This commit is contained in:
Baptiste Daroussin 2014-05-15 18:53:46 +00:00
parent efd139ed48
commit 4f274163c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354166

View File

@ -3,7 +3,7 @@
PORTNAME= x264
PORTVERSION= 0.${X264_BUILD}.${X264_REV}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \
http://samples.mplayerhq.hu/yuv4mpeg2/:pgo
@ -26,8 +26,7 @@ X264_COMMIT= 3361d59a0a83dcb8b321cc0eb8e6ba68ca49c7d4
X264_GITVER= ${X264_COMMIT:C/^(.......).*$/\1/g}
X264_SNAPSHOT= 20130827
USES= gmake
USE_BZIP2= yes
USES= gmake tar:bzip2
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
@ -43,7 +42,8 @@ X11_OUTPUT_DESC= Enable X11 Output
CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include" \
--extra-ldflags="-L${LOCALBASE}/lib" \
--enable-static --enable-shared \
--disable-opencl
--disable-opencl \
--disable-swscale
PLIST_SUB+= X264_BUILD=${X264_BUILD}