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/mc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysutils/mc') diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile index 0a4a050af81..33b166f9398 100644 --- a/sysutils/mc/Makefile +++ b/sysutils/mc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2005/08/04 21:11:48 rillig Exp $ +# $NetBSD: Makefile,v 1.63 2005/08/10 20:56:24 jlam Exp $ DISTNAME= mc-4.6.1 CATEGORIES= sysutils @@ -9,6 +9,7 @@ MAINTAINER= pavel.arnost@clnet.cz HOMEPAGE= http://www.ibiblio.org/mc/ COMMENT= User-friendly file manager and visual shell +USE_TOOLS+= pkg-config GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES @@ -39,5 +40,4 @@ PLIST_SRC+= ${PKGDIR}/PLIST PLIST_SRC+= ${PKGDIR}/PLIST.end .include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3