summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r--multimedia/libvpx/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index b2c8c6cf772..f1981fc1722 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/03/12 11:00:01 tron Exp $
+# $NetBSD: Makefile,v 1.4 2011/04/14 07:08:00 adam Exp $
DISTNAME= libvpx-v0.9.6
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -13,8 +13,14 @@ LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
-USE_LIBTOOL= YES
-USE_TOOLS+= gmake bash:build perl:build
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake bash:build perl:build
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-postproc
+CONFIGURE_ARGS+= --enable-pic
+CONFIGURE_ARGS+= --enable-runtime-cpu-detect
+CONFIGURE_ARGS+= --prefix=${PREFIX}
.include "../../mk/bsd.prefs.mk"
@@ -22,23 +28,13 @@ USE_TOOLS+= gmake bash:build perl:build
BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
.endif
-HAS_CONFIGURE= YES
-USE_LANGUAGES= c c++
-
REPLACE_BASH= configure \
build/make/version.sh \
build/make/gen_asm_deps.sh \
examples/gen_example_text.sh \
examples/gen_example_code.sh
-CONFIGURE_ARGS+= --enable-pic \
- --disable-postproc \
- --enable-runtime-cpu-detect \
- --prefix=${PREFIX}
-
.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-lrt
-
. if ${MACHINE_ARCH} == "i386"
. if empty(OS_VERSION:M8.*)
CONFIGURE_ARGS+= --target=x86-darwin9-gcc