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. --- x11/gnome-mag/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'x11/gnome-mag') diff --git a/x11/gnome-mag/Makefile b/x11/gnome-mag/Makefile index 03a5be54144..97059bcb540 100644 --- a/x11/gnome-mag/Makefile +++ b/x11/gnome-mag/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2005/07/21 16:30:00 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2005/08/10 20:56:26 jlam Exp $ # DISTNAME= gnome-mag-0.12.0 @@ -11,7 +11,7 @@ HOMEPAGE= http://www.gnome.org/ COMMENT= GNOME screen magnifier USE_DIRS+= gnome2-1.5 -USE_TOOLS+= gmake +USE_TOOLS+= gmake pkg-config USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -22,7 +22,6 @@ PKGCONFIG_OVERRIDE+= gnome-mag-1.0.pc.in .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libbonobo/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../devel/popt/buildlink3.mk" .include "../../net/ORBit2/buildlink3.mk" .include "../../textproc/intltool/buildlink3.mk" -- cgit v1.2.3