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. --- sysutils/gnome2-system-monitor/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sysutils/gnome2-system-monitor/Makefile') diff --git a/sysutils/gnome2-system-monitor/Makefile b/sysutils/gnome2-system-monitor/Makefile index 3ac27089a97..921d1a579f2 100644 --- a/sysutils/gnome2-system-monitor/Makefile +++ b/sysutils/gnome2-system-monitor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2005/07/21 16:29:57 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2005/08/10 20:56:24 jlam Exp $ # DISTNAME= gnome-system-monitor-2.10.1 @@ -16,7 +16,7 @@ BUILD_USES_MSGFMT= yes USE_DIRS+= gnome2-1.5 USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes -USE_TOOLS+= autoconf gmake +USE_TOOLS+= autoconf gmake pkg-config LIBS+= -lutil GCONF2_SCHEMAS+= gnome-system-monitor.schemas @@ -30,7 +30,6 @@ pre-configure: .include "../../devel/libgnome/buildlink3.mk" .include "../../devel/libgnomeui/buildlink3.mk" .include "../../devel/libwnck/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../sysutils/gnome-vfs2/buildlink3.mk" .include "../../sysutils/libgtop2/buildlink3.mk" .include "../../textproc/intltool/buildlink3.mk" -- cgit v1.2.3