From b1f207194f3f2d4cb73651c67948873344bf1d1f 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. --- misc/gkrellm-weather/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'misc/gkrellm-weather') diff --git a/misc/gkrellm-weather/Makefile b/misc/gkrellm-weather/Makefile index 8a9bb642289..e16202c4c58 100644 --- a/misc/gkrellm-weather/Makefile +++ b/misc/gkrellm-weather/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2005/07/21 16:29:53 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2005/08/10 20:56:19 jlam Exp $ DISTNAME= gkrellweather-2.0.6 PKGNAME= gkrellm-weather-2.0.6 @@ -14,7 +14,7 @@ COMMENT= Gkrellm2 weather plugin DEPENDS+= wget>=1.8:../../net/wget BUILD_USES_MSGFMT= YES -USE_TOOLS+= gmake perl:run +USE_TOOLS+= gmake perl:run pkg-config USE_PKGLOCALEDIR= YES BUILD_TARGET= gkrellweather.so @@ -30,7 +30,6 @@ pre-build: ${WRKSRC}/GrabWeather.orig > ${WRKSRC}/GrabWeather .include "../../sysutils/gkrellm/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3