tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

TOOLS_PLATFORM.xxx, TOOLS_PATH.xxx and ${TOOLS_VARNAME.xxx}



On system:
TOOLS_PLATFORM.wish=/usr/bin/wish

With condition:
_TOOLS_USE_PKGSRC.with=yes

In pkg's Makefile:
USE_TOOLS+= wish

Then
% make show-vars VARNAMES="TOOLS_PLATFORM.wish TOOLS_PATH.wish WISH"
/usr/bin/wish
/usr/pkg/bin/wish
/usr/bin/wish

Is it expected behavior?
If so,
 * `TOOLS_PATH.wish' (or `TOOLS_CMDLINE.wish') should be used for the case
   `wish' is effect to installed package contents.
 * `WISH' should be used for packaging work (pkgsrc framework, make targets, or 
so on).

I it correct?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index