Wed Mar 28 13:51:33 2012 UTC ()
Fix build problem under Mac OS X caused by NetBSD build fix.


(tron)
diff -r1.12 -r1.13 pkgsrc/multimedia/libvpx/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/multimedia/libvpx/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/libvpx/Makefile 2012/02/09 17:12:40 1.12
+++ pkgsrc/multimedia/libvpx/Makefile 2012/03/28 13:51:32 1.13
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.12 2012/02/09 17:12:40 minskim Exp $ 1# $NetBSD: Makefile,v 1.13 2012/03/28 13:51:32 tron Exp $
2 2
3DISTNAME= libvpx-v1.0.0 3DISTNAME= libvpx-v1.0.0
4PKGNAME= ${DISTNAME:S/-v/-/} 4PKGNAME= ${DISTNAME:S/-v/-/}
5CATEGORIES= multimedia 5CATEGORIES= multimedia
6MASTER_SITES= http://webm.googlecode.com/files/ 6MASTER_SITES= http://webm.googlecode.com/files/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= ryoon@NetBSD.org 9MAINTAINER= ryoon@NetBSD.org
10HOMEPAGE= http://code.google.com/p/webm/ 10HOMEPAGE= http://code.google.com/p/webm/
11COMMENT= On2 VP8 library from Google 11COMMENT= On2 VP8 library from Google
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
@@ -27,26 +27,27 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} @@ -27,26 +27,27 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}
27 27
28.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 28.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
29BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm 29BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
30.endif 30.endif
31 31
32REPLACE_BASH= configure \ 32REPLACE_BASH= configure \
33 build/make/configure.sh \ 33 build/make/configure.sh \
34 build/make/version.sh \ 34 build/make/version.sh \
35 build/make/gen_asm_deps.sh \ 35 build/make/gen_asm_deps.sh \
36 examples/gen_example_text.sh \ 36 examples/gen_example_text.sh \
37 examples/gen_example_code.sh 37 examples/gen_example_code.sh
38 38
39.if ${OPSYS} == "Darwin" 39.if ${OPSYS} == "Darwin"
 40BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic
40. if ${MACHINE_ARCH} == "i386" 41. if ${MACHINE_ARCH} == "i386"
41. if !empty(OS_VERSION:M11.*) 42. if !empty(OS_VERSION:M11.*)
42CONFIGURE_ARGS+= --target=x86-darwin10-gcc 43CONFIGURE_ARGS+= --target=x86-darwin10-gcc
43. elif !empty(OS_VERSION:M10.*) 44. elif !empty(OS_VERSION:M10.*)
44CONFIGURE_ARGS+= --target=x86-darwin10-gcc 45CONFIGURE_ARGS+= --target=x86-darwin10-gcc
45. elif !empty(OS_VERSION:M9.*) 46. elif !empty(OS_VERSION:M9.*)
46CONFIGURE_ARGS+= --target=x86-darwin10-gcc 47CONFIGURE_ARGS+= --target=x86-darwin10-gcc
47. else 48. else
48CONFIGURE_ARGS+= --target=x86-darwin8-gcc 49CONFIGURE_ARGS+= --target=x86-darwin8-gcc
49. endif 50. endif
50. elif ${MACHINE_ARCH} == "x86_64" 51. elif ${MACHINE_ARCH} == "x86_64"
51. if !empty(OS_VERSION:M11.*) 52. if !empty(OS_VERSION:M11.*)
52CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc 53CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc