Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2016 09:41:36 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414637 - head/multimedia/handbrake
Message-ID:  <201605050941.u459fa7U057800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Thu May  5 09:41:35 2016
New Revision: 414637
URL: https://svnweb.freebsd.org/changeset/ports/414637

Log:
  Fix build in the presence of system-wide installed ffmpeg
  
  PR:		209064
  Reported by:	admin@vladiom.com.ua
  Submitted by:	scf

Modified:
  head/multimedia/handbrake/Makefile

Modified: head/multimedia/handbrake/Makefile
==============================================================================
--- head/multimedia/handbrake/Makefile	Thu May  5 09:12:32 2016	(r414636)
+++ head/multimedia/handbrake/Makefile	Thu May  5 09:41:35 2016	(r414637)
@@ -43,7 +43,6 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/
 		libsamplerate.so:audio/libsamplerate \
 		libx264.so:multimedia/libx264 \
 		libmp3lame.so:audio/lame
-CONFLICTS_BUILD=	x265
 
 .if !defined(PACKAGE_BUILDING)
 # DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed)
@@ -67,6 +66,9 @@ MAKE_JOBS_UNSAFE=	yes
 
 NOPRECIOUSMAKEVARS=	yes			# for ffmpeg and x264
 
+# Enforce linking to bundled libraries instead of system libraries
+LDFLAGS+=	-L${BUILD_WRKSRC}/contrib/lib
+
 # Enforce linking to the system c++ standard lib
 LDFLAGS+=	-l${COMPILER_FEATURES:Mlib*c++:S/lib//}
 



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