summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2005-04-28Make the pretty-printing actually work by passing all of the options onjlam1-3/+3
different lines to the word-wrap script.
2005-04-28We don't need to use ${SORT} to sort the options list. VAR:O will dojlam1-13/+6
nicely.
2005-04-28There is no uk_UA.ISO_8859-1. Luckily no package believes otherwise,wiz13-39/+13
so let us remove them. Suggested by uwe@.
2005-04-28Defer execution until the value is needed. This avoids needing ${ECHO},jlam1-17/+12
${XARGS}, and ${SORT} until the make targets are executed.
2005-04-28Only set the "TOOL" variable if one has been associated with the tool.jlam1-1/+3
2005-04-28coreutils.mk has been merged into replace.mkjlam1-2/+1
2005-04-28Merge coreutils.mk into replace.mk. Also remove the "coreutils" optionjlam2-80/+474
to USE_TOOLS and replace it with the names of the various tools we're getting from coreutils, e.g. "mv", "mkdir", "rm", etc.
2005-04-28Note the "[" is natively available everywhere (usually as a shell builtin).jlam13-13/+26
2005-04-28Remove unused variable _TOOLS_REPLACE_LIST.jlam1-8/+1
2005-04-28whitespace changes to simplify merging with coreutils.mk.jlam1-28/+28
2005-04-28We only need to loop over the tools that we say we're going to use.jlam1-8/+7
2005-04-28Create _USE_TOOLS, a sanitized versino of USE_TOOLS that removes thejlam1-38/+49
tools that are overridden by superseding ones. Use it in place of USE_TOOLS in most places. This fixes the situation where we can depend on the tool that overridden, e.g. USE_TOOLS= gawk awk.
2005-04-28Correct the PKGPATH for gsed.jlam1-2/+2
2005-04-28Split out the tools from the same package into separate clauses so thatjlam1-106/+113
you can specify wanting individual tools from that package.
2005-04-28Define TOOLS_DEPENDS.* to be the dependency that will be added, andjlam5-34/+71
filter out dependencies that have already been added.
2005-04-28Rename TOOLS_DEPENDS.* to TOOLS_DEPMETHOD.* to roughly match thejlam2-29/+29
buildlink terminology for the same concept.
2005-04-27Correct the fallback value of FALSE.jlam1-2/+2
2005-04-27Remove redundant checks.jlam1-9/+1
2005-04-27Don't bother testing whether the target file is excutable. Let's justjlam1-7/+4
trust the user.
2005-04-27Define tools that we use within the tools framework itself.jlam1-1/+14
2005-04-27Clarify why we want the perl symlink.jlam1-3/+3
2005-04-27Linux doesn't seem have lex as part of the base system, so don't botherjlam1-4/+1
with the check.
2005-04-27Split out the perl handling to a separate file, since we always use thejlam2-21/+20
pkgsrc perl, and it isn't really like any of the other tools that we replace based on a system-/pkgsrc-supplied distinction.
2005-04-27Handle cases where pkgsrc bootstrap installs tools, e.g. pax, tar, sed.jlam2-1/+94
Where bootstrap installs these tools, they should be considered system- supplied since pkgsrc won't be providing replacements for them. bootstrap.mk encapulates the information from the bootstrap script. It should eventually go away after the bootstrap script has been taught to write out the correct TOOLS_PLATFORM.* entries to the example mk.conf file.
2005-04-27Rename PLATFORM_TOOLS.* to TOOLS_PLATFORM.* to bring the variable namesjlam14-691/+691
under the same namespace as the other parts of the new tools framework.
2005-04-27Remove conflict between bison and yacc... now "bison" simply overridesjlam1-8/+8
"yacc" when both are specified. Also add comments to note other instances where we override other tools: gsed & sed, gawk & awk, gm4 & m4.
2005-04-27cmp should be a symlink, not a wrapper.jlam1-2/+2
2005-04-27Teach replace.mk about awk, m4, and sed when the GNU versions aren'tjlam1-4/+50
required.
2005-04-27Get rid of the _TOOLS_USE_PLATFORM.* table as the information has nowjlam1-65/+3
been placed in the various tools.${OPSYS}.mk files using PLATFORM_TOOL.* definitions.
2005-04-27BSD/OS supplies an mtree.jlam1-1/+2
2005-04-27Note lex if it's present on the system.jlam1-1/+4
2005-04-27The BSDs all have lex, tbl, and yacc in the base system.jlam4-4/+20
2005-04-27/usr/xpg4/bin/sed is actually not good enough for pkgsrc, so don't listjlam1-2/+1
it as a system-supplied sed.
2005-04-27Fix erroneous path to sed and add a check for bison.jlam1-2/+5
2005-04-27Initial stab at creating lists of system-supplied tools for each platform.jlam14-1/+774
These were culled from pkgsrc/mk/${OPSYS}.mk. These files should only be listing utilities that aren't installed by pkgsrc.
2005-04-27We can't add dependencies on packages that are never registered.jlam1-3/+11
archivers/pax and pkgtools/mtree fall in this category since they are usually installed by pkgsrc bootstrap.
2005-04-27Teach replace about mtree/MTREE.jlam1-3/+19
2005-04-27Fix typo.jlam1-2/+2
2005-04-27Teach replace.mk about replacements for SH (shells/pdksh) and SHLOCKjlam1-2/+34
(pkgtools/shlock).
2005-04-27Teach replace.mk about GTAR and PAX (replace with archivers/pax ifjlam1-3/+41
necessary).
2005-04-26Teach replace.mk about cmp/CMP.jlam1-4/+22
2005-04-26Let USE_TOOLS+=coreutils cause BASENAME, CAT, CHGRP, etc. to be overriddenjlam1-3/+44
to point to the pkgsrc versions of those tools.
2005-04-26To avoid errors, check that there is a TOOL variable associated withjlam1-4/+4
the tool before we set it.
2005-04-26Packages that want GNU m4 will probably still invoke it as "m4".jlam1-1/+2
2005-04-26Merge findutils.mk into replace.mk. We now just use USE_TOOLS+=findjlam3-35/+39
or USE_TOOLS+=xargs, and cause FIND and XARGS to point to the correct commands.
2005-04-26If we're using one of the package's utilities, we're going to be usingjlam1-1/+3
them all, so make sure _TOOLS_USE_PKGSRC.* is set to "yes".
2005-04-26Continue the work in previous commit by making the code morejlam1-27/+15
cut-n-paste-friendly for packages with large numbers of utilities.
2005-04-26Make some code more cut-n-paste-friendly for packages that replace lotsjlam1-11/+13
of tools.
2005-04-26The gzip utilities aren't ever prefixed with ${GNU_PROGRAM_PREFIX}...jlam1-4/+4
they're just "gzip", "gunzip" and "gzcat".
2005-04-26Fix conditions on grep and gzip so that if any of the TOOLS_IGNORE.* arejlam1-7/+13
defined for their respective utilities, then we skip the processing to avoid dependency loops.