pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/28714: mail/maildrop uses native cp instead of ${CP}
The following reply was made to PR pkg/28714; it has been noted by GNATS.
From: "Johnny C. Lam" <jlam%NetBSD.org@localhost>
To: georg.schwarz%freenet.de@localhost
Cc: gnats-bugs%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/28714: mail/maildrop uses native cp instead of ${CP}
Date: Fri, 18 Feb 2005 22:39:14 +0000
On Sun, Dec 19, 2004 at 07:57:00PM +0000, georg.schwarz%freenet.de@localhost
wrote:
> >Description:
> mail/maildrop in its Makefile directly cp instead of ${CP}. On systems where
> cp does not support a -f option, for example, this fails.
> >How-To-Repeat:
>
> >Fix:
> Patch Makefile* to replace cp with $(CP) and add MAKE_ENV+=CP="${CP}".
> Maybe even better use the appropriate $INSTALL_* instead. Other
> commands like rm might also be substituted the same way.
We could patch the Makefiles, but I suspect that this is going to be
a fairly common problem on IRIX 5. It might be easier just to create
a "cp" wrapper in tools.mk that understands "-f". Alternatively, we
could make sysutils/coreutils a build dependency for IRIX 5. I'm just
tossing out ideas here, but adding coreutils as a a build dependency
will probably make most of these problems just go away and is less
work than the wrappers idea.
Cheers,
-- Johnny Lam <jlam%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index