summaryrefslogtreecommitdiff
path: root/mail/spamassassin
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-21 07:57:07 +0000
committerjlam <jlam@pkgsrc.org>2002-10-21 07:57:07 +0000
commit8956afab00dd7ffa3f07bac19862058e497df54d (patch)
treee4f362131bb52cbe1984f5687fbfecac069115f8 /mail/spamassassin
parent42e0d6d4031fa7f776f79fba54d54e22156d34b3 (diff)
downloadpkgsrc-8956afab00dd7ffa3f07bac19862058e497df54d.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