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. --- databases/rrdtool/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'databases/rrdtool') diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile index 4e4423a9932..a7ae0f2a2bf 100644 --- a/databases/rrdtool/Makefile +++ b/databases/rrdtool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2005/08/08 18:13:13 jlam Exp $ +# $NetBSD: Makefile,v 1.39 2005/08/10 20:56:14 jlam Exp $ # DISTNAME= rrdtool-1.2.11 @@ -15,7 +15,7 @@ NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \ NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha USE_LIBTOOL= yes -USE_TOOLS+= gmake +USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= yes PTHREAD_OPTS+= require @@ -32,7 +32,6 @@ RRDDOCDIR= ${PREFIX}/share/doc/rrdtool .include "../../graphics/png/buildlink3.mk" .include "../../graphics/libart2/buildlink3.mk" .include "../../www/cgilib/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../lang/perl5/module.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3