exec()ing a program
Stefan Schaeckeler <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I'm building a package that is exec()ing gs and pstotext. It looks to me that pkgsrc wants absolute paths for exec()ing programs.
For exec()ing gs, apparently, I can do this (+ appropriate patch):
SUBST_CLASSES+= gs
SUBST_STAGE.gs= do-configure
SUBST_FILES.gs= afile.c bfile.c cfile.c
SUBST_SED.gs= -e 's|@GS_CMD@|${TOOLS_PATH.gs}|'
How can I do this with pstoext? TOOLS_PATH.pstotext is not defined.
Thanks, Stefan Schaeckeler
------------------------------------------------------------------------------