svn commit: r428893 - head/multimedia/ffmpeg

Jan Beich jbeich at FreeBSD.org
Mon Dec 19 01:07:54 UTC 2016


Author: jbeich
Date: Mon Dec 19 01:07:52 2016
New Revision: 428893
URL: https://svnweb.freebsd.org/changeset/ports/428893

Log:
  multimedia/ffmpeg: only pass *FLAGS via environment

Modified:
  head/multimedia/ffmpeg/Makefile   (contents, props changed)

Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile	Mon Dec 19 01:07:39 2016	(r428892)
+++ head/multimedia/ffmpeg/Makefile	Mon Dec 19 01:07:52 2016	(r428893)
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	yasm:devel/yasm \
 		${LOCALBASE}/bin/as:devel/binutils
 
 HAS_CONFIGURE=	yes
-USES=		compiler:c11 cpe gmake perl5 pkgconfig tar:bzip2 shebangfix
+USES=		compiler:c11 cpe gmake localbase perl5 pkgconfig shebangfix tar:bzip2
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 SHEBANG_FILES=	doc/texi2pod.pl
@@ -367,7 +367,6 @@ VIDSTAB_CONFIGURE_ENABLE=	libvidstab
 # vorbis
 VORBIS_LIB_DEPENDS=	libvorbisenc.so:audio/libvorbis
 VORBIS_CONFIGURE_ENABLE=	libvorbis
-VORBIS_VARS=		FFMPEG_CFLAGS+="-I${LOCALBASE}/include/vorbis"
 
 # vp8
 VPX_LIB_DEPENDS=	libvpx.so:multimedia/libvpx
@@ -448,10 +447,7 @@ CONFIGURE_ARGS+=--prefix="${PREFIX}" \
 		--enable-avresample \
 		--enable-pthreads \
 		--disable-libsoxr \
-		--cc="${CC}" \
-		--extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \
-		--extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \
-		--extra-libs="-lpthread"
+		--cc="${CC}"
 
 CONFIGURE_ENV_armv6_clang=	ASFLAGS=-no-integrated-as
 CONFIGURE_ARGS_armv6=		--disable-fast-unaligned


More information about the svn-ports-head mailing list