From b3f78ea1dc65ca87b470169b6f46da18d36bf91b 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/gtkglarea2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11/gtkglarea2/Makefile') diff --git a/x11/gtkglarea2/Makefile b/x11/gtkglarea2/Makefile index a6bc3a5a281..8ccf01d132e 100644 --- a/x11/gtkglarea2/Makefile +++ b/x11/gtkglarea2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2005/07/21 16:30:01 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2005/08/10 20:56:29 jlam Exp $ # DISTNAME= gtkglarea-1.99.0 @@ -12,14 +12,14 @@ MAINTAINER= recht@NetBSD.org HOMEPAGE= http://www.gnome.org/ COMMENT= OpenGL widget for the GTK+2 GUI toolkit -USE_LIBTOOL= YES +USE_TOOLS+= pkg-config +USE_LIBTOOL= yes PKGCONFIG_OVERRIDE+= gtkgl-2.0.pc.in -GNU_CONFIGURE= YES +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-lib-GL CONFIGURE_ARGS+= --with-GL-prefix=${BUILDLINK_PREFIX.MesaLib} -.include "../../devel/pkg-config/buildlink3.mk" .include "../../graphics/Mesa/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3