aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-02-04 21:16:12 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-02-04 21:16:12 +0000
commitefa53a3a2db2474432207c4181d95f37b69789e3 (patch)
tree39963a619392a9daa4d8427fc70a7b370c14da94 /multimedia
parent34e4bc11f978180203b0ab98dca0cb380e0d0ac4 (diff)
downloadports-efa53a3a2db2474432207c4181d95f37b69789e3.tar.gz
ports-efa53a3a2db2474432207c4181d95f37b69789e3.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264/files/patch-Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/multimedia/x264/files/patch-Makefile b/multimedia/x264/files/patch-Makefile
index 3d6885b9d9c9..cca5b3e448ea 100644
--- a/multimedia/x264/files/patch-Makefile
+++ b/multimedia/x264/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2012-04-24 22:45:06.000000000 +0200
-+++ Makefile 2012-04-25 10:17:55.692859510 +0200
-@@ -84,13 +84,13 @@
+--- Makefile.orig 2013-08-27 22:45:07.000000000 +0200
++++ Makefile 2014-02-04 20:59:54.000000000 +0100
+@@ -86,13 +86,13 @@
endif
X86SRC = $(X86SRC0:%=common/x86/%)
@@ -16,12 +16,19 @@
ARCH_X86 = yes
ASMSRC = $(X86SRC:-32.asm=-64.asm) common/x86/trellis-64.asm
ASFLAGS += -DARCH_X86_64=1
-@@ -106,7 +106,7 @@
+@@ -108,7 +108,14 @@
endif
# AltiVec optims
-ifeq ($(ARCH),PPC)
+ifeq ($(ARCH),powerpc)
++ARCH_PPC = yes
++endif
++ifeq ($(ARCH),powerpc64)
++ARCH_PPC = yes
++endif
++
++ifdef ARCH_PPC
ifneq ($(AS),)
SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \
common/ppc/quant.c common/ppc/deblock.c \