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. --- games/wesnoth/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/wesnoth') diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index 27e9ae4e201..8fe02753bab 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/08/09 16:26:52 adam Exp $ +# $NetBSD: Makefile,v 1.16 2005/08/10 20:56:17 jlam Exp $ DISTNAME= wesnoth-0.9.5 CATEGORIES= games @@ -8,6 +8,7 @@ MAINTAINER= wiz@NetBSD.org HOMEPAGE= http://www.wesnoth.org/ COMMENT= Fantasy turn-based strategy game +USE_TOOLS+= pkg-config HAS_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} @@ -22,7 +23,6 @@ BUILDLINK_DEPENDS.SDL_mixer= SDL_mixer>=1.2.5nb3 # use included SDL_ttf library #.include "../../devel/SDL_ttf/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../graphics/SDL_image/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" -- cgit v1.2.3