summaryrefslogtreecommitdiff
path: root/x11/wxGTK
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 /x11/wxGTK
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 'x11/wxGTK')
-rw-r--r--x11/wxGTK/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/wxGTK/Makefile.common b/x11/wxGTK/Makefile.common
index 2fbc848c69c..53c5f5b673b 100644
--- a/x11/wxGTK/Makefile.common
+++ b/x11/wxGTK/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2005/08/07 11:26:17 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2005/08/10 20:56:30 jlam Exp $
#
DISTNAME= wxGTK-2.6.1
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.wxwidgets.org/
PATCHDIR= ${.CURDIR}/../../x11/wxGTK/patches
DISTINFO_FILE= ${.CURDIR}/../../x11/wxGTK/distinfo
+USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= YES
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
@@ -28,7 +29,6 @@ CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
DOCDIR= ${PREFIX}/share/doc/wxGTK
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"