Subject: pkg/24634: pkgsrc/converters/libiconv should honor $CP
To: None <>
From: None <>
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
>Originator:     Georg Schwarz
>Release:        current pkgsrc
IRIX lorenz 5.3 08031225 IP20 mips
pkgsrc/converters/libiconv/patches/patch-ab adds "cp -R" to 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).

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}