summaryrefslogtreecommitdiff
path: root/multimedia/handbrake/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-24 11:42:24 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-24 11:42:24 +0000
commitd1ec063c7004ebbb2695cdacdfe8cf50ffa36774 (patch)
tree9ba85d2c309ab82d50b00d6ba3f524376a6670fa /multimedia/handbrake/Makefile
parentgames/reminiscence: fix build on GCC architectures (diff)
multimedia/handbrake: fix build on powerpc64
Use C11 compiler, because of ffmpeg. Correct comment typo. Don't include asm/cputable.h and linux/auxvec.h in libvpx-1.7.0/vpx_ports/ppc_cpudetect.c - those headers are Linux-only. Merge upstream patch from x265 to fix compilation on non-x86. Don't link with libc++ when using GCC. PR: 241928 Approved by: naito.yuichiro@gmail.com (maintainer), linimon (mentor)
Notes
Notes: svn path=/head/; revision=518318
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r--multimedia/handbrake/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 46986ede4da8..3f812f992724 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -13,8 +13,7 @@ COMMENT= Versatile DVD ripper and video transcoder
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-ONLY_FOR_ARCHS= amd64 i386
-ONLY_FOR_ARCHS_REASON= invokes x86 assembler
+ONLY_FOR_ARCHS= amd64 i386 powerpc64
BUILD_DEPENDS= bash:shells/bash \
nasm:devel/nasm \
@@ -54,7 +53,7 @@ LIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss
.endif
GNU_CONFIGURE= yes
-USES= autoreconf:build compiler:features gmake iconv \
+USES= autoreconf:build compiler:c11 gmake iconv \
libtool:build localbase:ldflags pkgconfig python:2.7,build
MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal
@@ -101,7 +100,7 @@ X11_USE= gstreamer1=gdkpixbuf,libav \
gnome=gtk30,intltool,cairo,gdkpixbuf2
# HandBrake tries to fetch its dependencies during build phase, which is not
-# considered good in FreeBSD. Instead, we will provided the downloaded files.
+# considered good in FreeBSD. Instead, we will provide the downloaded files.
post-extract: .SILENT
${MKDIR} ${WRKSRC}/download
.for f in ${CONTRIB_FILES}