aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-11-22 15:36:31 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-11-22 15:36:31 +0000
commitca4febdf0774f4719c8395507d0d8e0105c20f51 (patch)
treed89039c00b3be302111e0dc9c1e545fee4ce47e7 /multimedia/x264
parentd3aa3d1f8dabfeddd1fc5d47bf57fd5a676cd69c (diff)
downloadports-ca4febdf0774f4719c8395507d0d8e0105c20f51.tar.gz
ports-ca4febdf0774f4719c8395507d0d8e0105c20f51.zip
Notes
Diffstat (limited to 'multimedia/x264')
-rw-r--r--multimedia/x264/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index acaacf019244..ce7ba2e15dfc 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -59,13 +59,10 @@ CONFIGURE_ARGS+= --disable-asm
LDFLAGS+= -fstack-protector
.endif
-.if ${ARCH}=="i386"
-MAKE_ENV+= ARCH_X86="1"
-.elif ${ARCH} == "powerpc"
-MAKE_ENV+= ARCH_PPC="1"
-.endif
-
-MAKE_ENV+= ARCH=${ARCH}
+CONFIGURE_ENV+= ARCH= \
+ TARGET_ARCH=
+MAKE_ENV+= ARCH= \
+ TARGET_ARCH=
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug