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. --- editors/leafpad/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/leafpad') diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index a469475be9a..096b9ddb9e5 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/07/21 16:29:49 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2005/08/10 20:56:16 jlam Exp $ # DISTNAME= leafpad-0.7.8 @@ -9,12 +9,12 @@ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://tarot.freeshell.org/leafpad/ COMMENT= Simple and light text editor using GTK+ +USE_TOOLS+= pkg-config GNU_CONFIGURE= YES USE_DIRS+= xdg-1.1 USE_PKGLOCALEDIR= YES .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3