pear-PEAR/pkg-install

Thierry Thomas thierry at pompo.net
Sun Dec 14 05:19:16 PST 2003


Le Dim 14 déc 03 à 13:40:31 +0100, Oliver Lehmann <lehmann at ans-netz.de>
 écrivait :
> Hi,

Hello,

> the variable PEAR is defined as ${PREFIX}/bin/pear. Shouldn't it be better
> to define it as ${LOCALBASE}/bin/pear (and add an env entry in
> Makefile.common)? Maybe i have that binary in an other location installed,
> as i wish to install a pear module?

Indeed, it would be fine, but this is not easy to pass ${LOCALBASE} to
pkg-install / pkg-deinstall. Perhaps could we assume that pear is in
$PATH, and try a `which pear` ?

Regards,
-- 
Th. Thomas.


More information about the freebsd-ports mailing list