diff options
author | jlam <jlam@pkgsrc.org> | 2005-08-10 20:56:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-08-10 20:56:10 +0000 |
commit | b1f207194f3f2d4cb73651c67948873344bf1d1f (patch) | |
tree | 4d8a0ec4125811389b8272e1e14bc12417f9448c /net/gkrellm-multiping | |
parent | 05aabdaad3c4d3e4d043bc1a2aaafaf17d881208 (diff) | |
download | pkgsrc-b1f207194f3f2d4cb73651c67948873344bf1d1f.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/Makefile | 5 |
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" |