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/gtk2-engines/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/gtk2-engines') diff --git a/x11/gtk2-engines/Makefile b/x11/gtk2-engines/Makefile index 84ae368d843..ac66b9bbce8 100644 --- a/x11/gtk2-engines/Makefile +++ b/x11/gtk2-engines/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2005/07/21 16:30:00 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2005/08/10 20:56:29 jlam Exp $ DISTNAME= gtk-engines-2.6.3 PKGNAME= ${DISTNAME:S/gtk/gtk2/} @@ -17,12 +17,12 @@ CONFLICTS+= gnome-themes-extras<0.8 BUILDLINK_DEPENDS.gtk2+= gtk2+>=2.6.4 +USE_TOOLS+= pkg-config GNU_CONFIGURE= yes USE_DIRS+= theme-1.1 xdg-1.1 USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= gtk-engines-2.pc.in -.include "../../devel/pkg-config/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3