From 4deddec7cb25319298bf73b1fafbb654175a865c 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. --- lang/sablevm-classpath-gui/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang/sablevm-classpath-gui') diff --git a/lang/sablevm-classpath-gui/Makefile b/lang/sablevm-classpath-gui/Makefile index 6815ead4c2a..2d4d87fef03 100644 --- a/lang/sablevm-classpath-gui/Makefile +++ b/lang/sablevm-classpath-gui/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/07/21 16:29:52 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2005/08/10 20:56:18 jlam Exp $ # .include "../../lang/sablevm-classpath/Makefile.common" @@ -9,6 +9,8 @@ COMMENT+= (GUI libraries) DEPENDS+= sablevm-classpath>=1.1.3nb1:../../lang/sablevm-classpath +USE_TOOLS+= pkg-config + BUILD_DIRS= ${WRKSRC}/native/jni/classpath BUILD_DIRS+= ${WRKSRC}/native/jni/gtk-peer INSTALL_DIRS= ${WRKSRC}/native/jni/gtk-peer @@ -18,7 +20,6 @@ PRINT_PLIST_AWK+= \ { print "@comment in sablevm-classpath: "$$0; next; } .include "../../devel/glib2/buildlink3.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../graphics/libart2/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/java-env.mk" -- cgit v1.2.3