summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpho <pho>2014-01-10 08:43:42 +0000
committerpho <pho>2014-01-10 08:43:42 +0000
commite527caf91bcbc08ff4bd0e699f4548fafa18712e (patch)
tree3ea209a28687e6ee263f2bd58d40f070de7e3c0a
parentef1fe56a278e47c548f9dc27264d3a409b5b5adb (diff)
downloadpkgsrc-e527caf91bcbc08ff4bd0e699f4548fafa18712e.tar.gz
Add ppc32 to Darwin targets
-rw-r--r--multimedia/libvpx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 7301ecd22b5..83aa0454986 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2014/01/02 15:18:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.34 2014/01/10 08:43:42 pho Exp $
DISTNAME= libvpx_1.3.0.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -64,6 +64,12 @@ CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc
. else
CONFIGURE_ARGS+= --target=x86_64-darwin9-gcc
. endif
+. elif ${MACHINE_ARCH} == "powerpc"
+. if !empty(OS_VERSION:M9.*)
+CONFIGURE_ARGS+= --target=ppc32-darwin9-gcc
+. else
+CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc
+. endif
. endif
.endif