From 4deddec7cb25319298bf73b1fafbb654175a865c Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 10 Aug 2005 20:56:10 +0000 Subject: 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. --- mail/dspam/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mail/dspam/Makefile') diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile index c5d9590c796..2dd67dbb936 100644 --- a/mail/dspam/Makefile +++ b/mail/dspam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2005/08/08 11:10:15 xtraeme Exp $ +# $NetBSD: Makefile,v 1.38 2005/08/10 20:56:19 jlam Exp $ DISTNAME= dspam-3.4.9 CATEGORIES= mail @@ -11,7 +11,7 @@ COMMENT= Extremely scalable, statistical-hybrid anti-spam filter GNU_CONFIGURE= yes USE_LIBTOOL= yes -USE_TOOLS+= perl:run +USE_TOOLS+= perl:run pkg-config REPLACE_PERL= tools/dspam_genaliases.in \ tools/dspam_corpus.in \ cgi/*.cgi cgi/configure.pl.in @@ -67,7 +67,6 @@ CONFIGURE_ARGS+= --with-dspam-home=${DSPAM_HOME} \ --sysconfdir=${PKG_SYSCONFDIR} .include "options.mk" -.include "../../devel/pkg-config/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" DOCDIR= ${PREFIX}/share/doc/dspam -- cgit v1.2.3