summaryrefslogtreecommitdiff
path: root/net/gkrellm-multiping
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 /net/gkrellm-multiping
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 'net/gkrellm-multiping')
-rw-r--r--net/gkrellm-multiping/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/gkrellm-multiping/Makefile b/net/gkrellm-multiping/Makefile
index 88156ed6e4a..dbeb1050083 100644
--- a/net/gkrellm-multiping/Makefile
+++ b/net/gkrellm-multiping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/07/21 16:29:55 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2005/08/10 20:56:21 jlam Exp $
#
DISTNAME= gkrellm-multiping-2.0.8
@@ -14,6 +14,8 @@ COMMENT= Pings several machines and prints out stats
USE_PKGINSTALL= YES
SPECIAL_PERMS+= ${PREFIX}/lib/gkrellm2/plugins/pinger ${SETUID_ROOT_PERMS}
+USE_TOOLS+= pkg-config
+
PTHREAD_OPTS= require
PTHREAD_AUTO_VARS= yes
@@ -21,7 +23,6 @@ post-patch:
${SED} -e s,@@PREFIX@@,${PREFIX}, ${WRKSRC}/multiping.c > ${WRKSRC}/multiping.c.sed
${CP} ${WRKSRC}/multiping.c.sed ${WRKSRC}/multiping.c
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"