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}



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