pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx Patch from PR pkg/45086



details:   https://anonhg.NetBSD.org/pkgsrc/rev/466ec7d9a6c0
branches:  trunk
changeset: 589990:466ec7d9a6c0
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 20 18:57:01 2011 +0000

description:
Patch from PR pkg/45086
Add workaround for Darwin/i386 10.

diffstat:

 multimedia/libvpx/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r b504386b902c -r 466ec7d9a6c0 multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Mon Jun 20 15:17:12 2011 +0000
+++ b/multimedia/libvpx/Makefile        Mon Jun 20 18:57:01 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/04/14 07:08:00 adam Exp $
+# $NetBSD: Makefile,v 1.5 2011/06/20 18:57:01 ryoon Exp $
 
 DISTNAME=      libvpx-v0.9.6
 PKGNAME=       ${DISTNAME:S/-v/-/}
@@ -28,6 +28,16 @@
 BUILD_DEPENDS+=                yasm-[0-9]*:../../devel/yasm
 .endif
 
+.if ${OPSYS} == "Darwin"
+.  if ${MACHINE_ARCH} == "i386"
+.    if empty(OS_VERSION:M8.*)
+CONFIGURE_ARGS+=       --target=x86-darwin9-gcc
+.    else
+CONFIGURE_ARGS+=       --target=x86-darwin8-gcc
+.    endif
+.  endif
+.endif
+
 REPLACE_BASH=          configure \
                        build/make/version.sh \
                        build/make/gen_asm_deps.sh \



Home | Main Index | Thread Index | Old Index