summaryrefslogtreecommitdiff
path: root/devel/libstatgrab
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-10 20:56:10 +0000
committerjlam <jlam@pkgsrc.org>2005-08-10 20:56:10 +0000
commit7820875fff0afd6ebe69c1b4bdbb85e3952a0f1f (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /devel/libstatgrab
parent50dfb1eae01aa73de001b1546218ed750ef35575 (diff)
downloadpkgsrc-7820875fff0afd6ebe69c1b4bdbb85e3952a0f1f.tar.gz
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.
Diffstat (limited to 'devel/libstatgrab')
-rw-r--r--devel/libstatgrab/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libstatgrab/Makefile b/devel/libstatgrab/Makefile
index 562d9756a83..ade07dda34e 100644
--- a/devel/libstatgrab/Makefile
+++ b/devel/libstatgrab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/07/21 16:29:48 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2005/08/10 20:56:15 jlam Exp $
DISTNAME= libstatgrab-0.11
CATEGORIES= devel
@@ -16,6 +16,7 @@ COMMENT= Provides a useful interface to system statistics
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE= libstatgrab.pc.in
CONFIGURE_ARGS+= --disable-examples
@@ -40,5 +41,4 @@ PLIST_SUBST+= SAIDAR=""
.include "../../devel/ncurses/buildlink3.mk"
.endif
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"