aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-02-20 09:19:09 +0800
committerrafan <rafan@FreeBSD.org>2008-02-20 09:19:09 +0800
commitb26f2f9c95594162deaaaa892fd1c3a7009743fc (patch)
tree06ba56c958c39b556304915d3270846d4a881f1f /multimedia
parentb0d6cf275de3e11330707448d4f01e96d5a01384 (diff)
downloadfreebsd-ports-gnome-b26f2f9c95594162deaaaa892fd1c3a7009743fc.tar.gz
freebsd-ports-gnome-b26f2f9c95594162deaaaa892fd1c3a7009743fc.tar.zst
freebsd-ports-gnome-b26f2f9c95594162deaaaa892fd1c3a7009743fc.zip
- Unbreak on amd64 7.x and above
PR: ports/120510 Submitted by: Wes Morgan <morganw at chemikals.org> Approved by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/handbrake/Makefile2
-rw-r--r--multimedia/handbrake/files/patch-contrib-a52dec-configure11
-rw-r--r--multimedia/handbrake/files/patch-contrib-mpeg2dec-configure11
3 files changed, 23 insertions, 1 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index b8767cd19fde..4f188cc1061f 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -64,7 +64,7 @@ APPLY?= /usr/bin/apply
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
+.if ${ARCH} == "amd64" && ${OSVERSION} < 700000
BROKEN= Does not compile
.endif
diff --git a/multimedia/handbrake/files/patch-contrib-a52dec-configure b/multimedia/handbrake/files/patch-contrib-a52dec-configure
new file mode 100644
index 000000000000..c6d28a99543f
--- /dev/null
+++ b/multimedia/handbrake/files/patch-contrib-a52dec-configure
@@ -0,0 +1,11 @@
+--- contrib/a52dec/configure.orig 2008-02-19 19:53:29.000000000 +0800
++++ contrib/a52dec/configure 2008-02-19 19:54:14.000000000 +0800
+@@ -9640,7 +9640,7 @@
+
+
+
+-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
++LIBA52_CFLAGS="$LIBA52_CFLAGS"
+
+ # Check whether --enable-double or --disable-double was given.
+ if test "${enable_double+set}" = set; then
diff --git a/multimedia/handbrake/files/patch-contrib-mpeg2dec-configure b/multimedia/handbrake/files/patch-contrib-mpeg2dec-configure
new file mode 100644
index 000000000000..256a04401731
--- /dev/null
+++ b/multimedia/handbrake/files/patch-contrib-mpeg2dec-configure
@@ -0,0 +1,11 @@
+--- contrib/mpeg2dec/configure.orig 2008-02-19 19:54:39.000000000 +0800
++++ contrib/mpeg2dec/configure 2008-02-19 19:55:08.000000000 +0800
+@@ -23981,7 +23981,7 @@
+ cd ..; rm -fr ac_test_libtool; echo "$as_me:$LINENO: result: $ac_cv_libtool_non_pic" >&5
+ echo "${ECHO_T}$ac_cv_libtool_non_pic" >&6
+ if test x"$ac_cv_libtool_non_pic" = x"yes"; then
+- LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"
++ LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS"
+ else
+ :
+ fi