summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-06-21 18:14:30 +0000
committertron <tron@pkgsrc.org>2011-06-21 18:14:30 +0000
commit73dcaac95c2a92b92db7ae2d5afca7be567f4f5d (patch)
treec7952348f808454474750d1275436ccf77529a9b /multimedia/libvpx/Makefile
parent1401f39ab0bd94aaf0618191a171857ffacfbc03 (diff)
downloadpkgsrc-73dcaac95c2a92b92db7ae2d5afca7be567f4f5d.tar.gz
Fix build under Mac OS X Snow Leopard if the Mac OS X Leopard is not
installed. Based on changes sugested by Martin Brandenburg in PR pkg/45086.
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r--multimedia/libvpx/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index cf67f76fc8d..869e4037b7b 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/06/20 20:31:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2011/06/21 18:14:30 tron Exp $
DISTNAME= libvpx-v0.9.6
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -36,8 +36,10 @@ REPLACE_BASH= configure \
.if ${OPSYS} == "Darwin"
. if ${MACHINE_ARCH} == "i386"
-. if empty(OS_VERSION:M8.*)
-CONFIGURE_ARGS+= --target=x86-darwin9-gcc
+. if !empty(OS_VERSION:M10.*)
+CONFIGURE_ARGS+= --target=x86-darwin10-gcc
+. elif !empty(OS_VERSION:M9.*)
+CONFIGURE_ARGS+= --target=x86-darwin10-gcc
. else
CONFIGURE_ARGS+= --target=x86-darwin8-gcc
. endif