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. --- chat/gg2/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chat/gg2') diff --git a/chat/gg2/Makefile b/chat/gg2/Makefile index a533e175d8a..7f6e8c77373 100644 --- a/chat/gg2/Makefile +++ b/chat/gg2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/07/21 16:29:45 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2005/08/10 20:56:13 jlam Exp $ DISTNAME= gg2-2.2.6 CATEGORIES= chat @@ -10,7 +10,7 @@ COMMENT= Instant messenger software for Poland; Jabber plugin included USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes -USE_TOOLS+= gmake +USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= yes LIBS+= -lm PKGCONFIG_OVERRIDE+= lib/gg2_core.pc.in @@ -26,7 +26,6 @@ CONFIGURE_ARGS+= --without-update .include "../../chat/ekg/buildlink3.mk" .include "../../chat/libtlen/buildlink3.mk" .include "../../chat/loudmouth/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../textproc/intltool/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" -- cgit v1.2.3