summaryrefslogtreecommitdiff
path: root/mail/spamassassin
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-21 07:57:07 +0000
committerjlam <jlam>2002-10-21 07:57:07 +0000
commit05303c9bf885935b2b37e83ee6d5033af817c816 (patch)
treee4f362131bb52cbe1984f5687fbfecac069115f8 /mail/spamassassin
parente9f029612caa69135b273c7f43ec9845cbe16ecc (diff)
downloadpkgsrc-05303c9bf885935b2b37e83ee6d5033af817c816.tar.gz
For subtle reasons, expand ${WRKSRC} into ${WRKDIR}/${DISTNAME} in
RCD_SCRIPT_SRC.spamd definition. The reason is that WRKSRC isn't defined by the time we get down to bsd.pkg.install.mk, so the dependency logic replaces "${WRKSRC}" with "", which is wrong. XXX bsd.pkg.install.mk should really be included by bsd.pkg.mk, in much the XXX same way bsd.buildlink2.mk is included by bsd.pkg.mk. It would remove XXX these ordering problems with variables not being available.
Diffstat (limited to 'mail/spamassassin')
-rw-r--r--mail/spamassassin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 400323cc5c9..0b9a9bfd4e8 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/10/20 20:09:05 heinz Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/21 07:57:07 jlam Exp $
DISTNAME= Mail-SpamAssassin-2.43
PKGNAME= spamassassin-2.43
@@ -31,7 +31,7 @@ MAKE_PARAMS= SYSCONFDIR="${PKG_SYSCONFDIR}"
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist
RCD_SCRIPTS= spamd
-RCD_SCRIPT_SRC.spamd= ${WRKSRC}/spamd/netbsd-rc-script.sh
+RCD_SCRIPT_SRC.spamd= ${WRKDIR}/${DISTNAME}/spamd/netbsd-rc-script.sh
EGDIR= ${PREFIX}/share/examples/spamassassin
DOCDIR= ${PREFIX}/share/doc/spamassassin