Index: Makefile =================================================================== --- Makefile (revision 438062) +++ Makefile (working copy) @@ -57,7 +57,7 @@ .endif GNU_CONFIGURE= yes -USE_GCC= yes +#USE_GCC= yes USES= autoreconf:build compiler:features gmake iconv \ libtool:build localbase:ldflags pkgconfig python:build MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal @@ -64,7 +64,7 @@ WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} -CONFIGURE_ARGS= --force --enable-x265 +CONFIGURE_ARGS= --force --enable-x265 --build=${WRKSRC}/build CONFIGURE_TARGET= build BUILD_WRKSRC= ${WRKSRC}/build @@ -76,7 +76,7 @@ NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 # Enforce linking to bundled libraries instead of system libraries -LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib +#LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib # Enforce linking to the system c++ standard lib LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//} Index: files/patch-contrib_libbluray_A02-expose-clip__id.patch =================================================================== --- files/patch-contrib_libbluray_A02-expose-clip__id.patch (revision 438062) +++ files/patch-contrib_libbluray_A02-expose-clip__id.patch (working copy) @@ -4,8 +4,8 @@ -- 2.5.5 -+--- Makefile.in.orig 2017-03-25 19:30:14 UTC -++++ Makefile.in 2017-03-25 19:30:36 UTC ++--- libbluray-0.9.3/Makefile.in.orig 2017-03-25 19:30:14 UTC +++++ libbluray-0.9.3/Makefile.in 2017-03-25 19:30:36 UTC +@@ -772,7 +772,7 @@ + MOSTLYCLEANFILES = $(DX_CLEANFILES) + @ENABLE_UDF_FALSE@POSIX_C_SOURCE = 200112L