Subject: pkg/24634: pkgsrc/converters/libiconv should honor $CP
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: netbsd-bugs
Date: 03/01/2004 22:54:00
>Number:         24634
>Category:       pkg
>Synopsis:       pkgsrc/converters/libiconv should honor $CP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 01 22:55:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/converters/libiconv/patches/patch-ab adds "cp -R" to Makefile.in. However, on some platforms the system cp does not understand -R and fails.  pkgsrc should honor $CP here, which on such platforms must point to a version of cp that supports -R (but which is not necessarily found first in the path or maybe not at all).
>How-To-Repeat:

>Fix:
in pkgsrc/converters/libiconv/patches/patch-ab change cp -R into ${CP} -R (twice). This also quires the following line to be added in pkgsrc/converters/libiconv/Makefile for $CP to be recognized:
MAKE_ENV+=              CP=${CP}
>Release-Note:
>Audit-Trail:
>Unformatted: