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. --- databases/libgda/Makefile.common | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'databases/libgda') diff --git a/databases/libgda/Makefile.common b/databases/libgda/Makefile.common index 01967445a24..5685a6897d8 100644 --- a/databases/libgda/Makefile.common +++ b/databases/libgda/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.32 2005/07/21 16:29:46 wiz Exp $ +# $NetBSD: Makefile.common,v 1.33 2005/08/10 20:56:14 jlam Exp $ # DISTNAME= libgda-1.2.2 @@ -13,7 +13,7 @@ COMMENT= GNU database access library DISTINFO_FILE= ${.CURDIR}/../../databases/libgda/distinfo PATCHDIR= ${.CURDIR}/../../databases/libgda/patches -USE_TOOLS+= gmake +USE_TOOLS+= gmake pkg-config USE_LIBTOOL= YES USE_PKGINSTALL= YES USE_PKGLOCALEDIR= YES @@ -45,7 +45,6 @@ SUBST_SED.libs+= -e 's|$$(top_builddir)/libgda/libgda-2.la|${BUILDLINK_PREFIX.li .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxslt/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/popt/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" -- cgit v1.2.3