From b3f78ea1dc65ca87b470169b6f46da18d36bf91b Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 10 Aug 2005 20:56:10 +0000 Subject: Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config. --- audio/speex/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/speex') diff --git a/audio/speex/Makefile b/audio/speex/Makefile index 8acdfcc4e4b..c31f41df9d0 100644 --- a/audio/speex/Makefile +++ b/audio/speex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2005/07/21 16:29:44 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2005/08/10 20:56:12 jlam Exp $ # DISTNAME= speex-1.0.5 @@ -12,6 +12,7 @@ COMMENT= Open-source, patent-free voice codec USE_LIBTOOL= YES GNU_CONFIGURE= YES PKGCONFIG_OVERRIDE= speex.pc.in +USE_TOOLS+= pkg-config # previous versions of the package were called Speex CONFLICTS= Speex-[0-9]* @@ -24,7 +25,6 @@ CONFIGURE_ENV+= F77=${FALSE} BUILDLINK_TRANSFORM+= l:gnugetopt:getopt .include "../../devel/libgetopt/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" .include "../../mk/ossaudio.buildlink3.mk" -- cgit v1.2.3