From 18774d4be00a1eb2169a578e955e5169eada2bd7 Mon Sep 17 00:00:00 2001 From: dbj Date: Sun, 15 Sep 2013 17:28:45 +0000 Subject: [PATCH] don't include googletest buildlink if CONFIGURE_ARGS has --disable-unit-tests --- multimedia/libvpx/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 45ae10cb43df6..c0fd633e00ad0 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2013/09/13 15:00:43 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2013/09/15 17:28:45 dbj Exp $ DISTNAME= libvpx-v1.2.0 PKGNAME= ${DISTNAME:S/-v/-/} @@ -79,6 +79,8 @@ BUILD_TARGET= # none post-extract: ${CP} ${FILESDIR}/strip_fPIC.sh ${WRKSRC} +.if empty(CONFIGURE_ARGS:M--disable-unit-tests) .include "../../devel/googletest/buildlink3.mk" +.endif .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"