summaryrefslogtreecommitdiff
path: root/mail/dspam
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 /mail/dspam
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 'mail/dspam')
-rw-r--r--mail/dspam/Makefile5
1 files changed, 2 insertions, 3 deletions
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