Subject: pkg/28714: mail/maildrop uses native cp instead of ${CP}
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/19/2004 19:57:00
>Number:         28714
>Category:       pkg
>Synopsis:       mail/maildrop uses native cp instead of ${CP}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 19 19:57:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
IRIX lorenz 5.3 08031225 IP20 mips
mail/maildrop in its Makefile directly cp instead of ${CP}. On systems where cp does not support a -f option, for example, this fails.

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.