From 3dd480cab174e10d2991382d5d0121d3282b6997 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 14 Apr 2011 07:08:00 +0000 Subject: Pass LDFLAGS when linking; adding then removing -lrt on Darwin didn't make much sense; clean-up --- multimedia/libvpx/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'multimedia/libvpx/Makefile') 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 -- cgit v1.2.3