From 8956afab00dd7ffa3f07bac19862058e497df54d Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 21 Oct 2002 07:57:07 +0000 Subject: 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. --- mail/spamassassin/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/spamassassin') 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 -- cgit v1.2.3