summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-10 20:56:10 +0000
committerjlam <jlam>2005-08-10 20:56:10 +0000
commitb3f78ea1dc65ca87b470169b6f46da18d36bf91b (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /finance
parent6cc0e59139f460170ef1bc22cecf04a148381243 (diff)
downloadpkgsrc-b3f78ea1dc65ca87b470169b6f46da18d36bf91b.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 'finance')
-rw-r--r--finance/gkrellm-stock/Makefile4
-rw-r--r--finance/gnucash/Makefile5
2 files changed, 4 insertions, 5 deletions
diff --git a/finance/gkrellm-stock/Makefile b/finance/gkrellm-stock/Makefile
index 5cff09db6fe..616a20a97df 100644
--- a/finance/gkrellm-stock/Makefile
+++ b/finance/gkrellm-stock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/07/21 16:29:50 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2005/08/10 20:56:16 jlam Exp $
#
DISTNAME= gkrellstock-0.5.1
@@ -13,6 +13,7 @@ COMMENT= GKrellM2 stock ticker plugin
DEPENDS+= p5-finance-quote>=1.08:../../finance/p5-finance-quote
+USE_TOOLS+= pkg-config
WRKSRC= ${WRKDIR}/gkrellStock-0.5.1
BUILD_TARGET= gkrellstock.so
REPLACE_PERL= ${WRKSRC}/GetQuote2
@@ -22,6 +23,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/gkrellstock.so ${PREFIX}/lib/gkrellm2/plugins
${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${PREFIX}/bin
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index e3e983d145e..e1e699b57dc 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2005/08/06 06:19:18 jlam Exp $
+# $NetBSD: Makefile,v 1.90 2005/08/10 20:56:16 jlam Exp $
DISTNAME= gnucash-1.8.11
PKGREVISION= 3
@@ -17,7 +17,7 @@ DEPENDS+= p5-finance-quote>=1.06:../../finance/p5-finance-quote
BUILD_DEPENDS+= bison>=1.28:../../devel/bison
USE_DIRS+= gnome1-1.5
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
@@ -42,7 +42,6 @@ INFO_FILES= gnucash-design.info
.include "../../print/gnome-print/buildlink3.mk"
.include "../../devel/g-wrap/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../graphics/gdk-pixbuf/buildlink3.mk"