summaryrefslogtreecommitdiff
path: root/mk/tools/create.mk
AgeCommit message (Collapse)AuthorFilesLines
2009-03-17Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig1-5/+4
2008-02-13Whenever a tool from TOOLS_FAIL is executed, print a useful errorrillig1-2/+4
message. This is much better than failing silently.
2006-07-10The wrapper for perl silently failed, giving no hint thatrillig1-1/+9
USE_TOOLS+=perl was necessary. Therefore, added a new class of tools, TOOLS_FAIL, which records the call in a .warnings file, which is later printed to the user. At least when the tool is first called in the "configure" phase; I didn't test other phases.
2006-06-06Separate out the part of bsd.tools.mk that actually created the toolsjlam1-0/+180
into a new file pkgsrc/mk/tools/create.mk. This leaves bsd.tools.mk as a file that pulls in all of the other ones. Also move the tools-related targets from bsd.pkg.mk into bsd.tools.mk. The tools cookie file has been removed, as well as hooks for {pre,do,post}-tools. Instead, there is now only a single public target "tools" which may be invoked. Invoking "tools" will always cause all of the tools in ${TOOLS_DIR} to be created. The "tools" step has been moved and is now just after the "depends" step and before sources are extracted. This is the earliest place where the "tools" step can be taken, and it allows the created tools to be used in all steps/phases after it, starting with "extract". As a consequence, we should just invoke tools by their bare names in targets, e.g. awk, sed, patch, etc., instead of with the ${VARIABLE} names, e.g. ${AWK}, ${SED}, ${PATCH}, etc.