Subject: Working directory for subust.mk
To: None <tech-pkg@netbsd.org>
From: Mike M. Volokhov <mishka@terabyte.com.ua>
List: tech-pkg
Date: 10/15/2003 22:31:16
Greetings!

The pkgsrc/mk/subst.mk file, line 59, contains hardcoded top level
directory, on which substitution is started:

	cd ${WRKSRC};

This cause to imposibility of change files, for example, in FILESDIR
(at least it hard to use).

What, if we'll use "SUBSTDIR?=${WRKSRC}" and then "cd ${SUBSTDIR};"
instead?

--
Best regards,
Mishka