Re: exec()ing a program
Thomas Klausner <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 26, 2010 at 01:27:05AM -0700, Stefan Schaeckeler wrote:
> How can I do this with pstoext? TOOLS_PATH.pstotext is not defined.
TOOLS_PATH is only defined for tools, see pkgsrc/mk/tools.
For packages which provide a buildlink3.mk, you can use
${BUILDLINK_PREFIX.packagename}. For other packages, you can use
${LOCALBASE}, but it's not a completely clean solution (it breaks with
pkgviews).
On the other hand, adding a buildlink3.mk just so you get a path is
also weird ;)
Thomas
------------------------------------------------------------------------------