From 7820875fff0afd6ebe69c1b4bdbb85e3952a0f1f 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/libao/Makefile.common | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio/libao') diff --git a/audio/libao/Makefile.common b/audio/libao/Makefile.common index 4e3cf68b1d5..2936eb7a9c6 100644 --- a/audio/libao/Makefile.common +++ b/audio/libao/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2005/07/21 16:29:43 wiz Exp $ +# $NetBSD: Makefile.common,v 1.24 2005/08/10 20:56:11 jlam Exp $ DISTNAME= libao-0.8.6 CATEGORIES= audio devel @@ -12,7 +12,7 @@ DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo PATCHDIR= ${.CURDIR}/../../audio/libao/patches GNU_CONFIGURE= yes -USE_TOOLS+= gmake +USE_TOOLS+= gmake pkg-config USE_LIBTOOL= yes PKGCONFIG_OVERRIDE+= ao.pc.in @@ -32,6 +32,5 @@ CONFIGURE_ARGS+= ENABLE_SOLARIS=no MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl} -.include "../../devel/pkg-config/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/ossaudio.buildlink3.mk" -- cgit v1.2.3