summaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-10 20:56:10 +0000
committerjlam <jlam>2005-08-10 20:56:10 +0000
commit4deddec7cb25319298bf73b1fafbb654175a865c (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /graphics/dia
parent9210d617d0c1b31f1f4fab84de4f8025b609fc18 (diff)
downloadpkgsrc-4deddec7cb25319298bf73b1fafbb654175a865c.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 'graphics/dia')
-rw-r--r--graphics/dia/Makefile.common5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/dia/Makefile.common b/graphics/dia/Makefile.common
index e1d214a876a..f7ba7b61269 100644
--- a/graphics/dia/Makefile.common
+++ b/graphics/dia/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2005/07/21 16:29:50 wiz Exp $
+# $NetBSD: Makefile.common,v 1.8 2005/08/10 20:56:17 jlam Exp $
#
DISTNAME= dia-0.94
@@ -14,7 +14,7 @@ DISTINFO_FILE= ${.CURDIR}/../../graphics/dia/distinfo
PATCHDIR= ${.CURDIR}/../../graphics/dia/patches
GNU_CONFIGURE= YES
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
@@ -45,7 +45,6 @@ BUILDLINK_DEPMETHOD.gtk2+= build
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"