summaryrefslogtreecommitdiff
path: root/mk/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-03-01Deprecate unused BUILD_USES_GETTEXT_M4 variable.wiz1-8/+1
2007-02-23Too many packages fail in mysterious ways when they cannot findrillig2-2/+6
pkg-config, which happens mostly after updating a package. Therefore, a failing wrapper is installed for this tool.
2007-02-07Someone decided to remove gtar without discussing this first, so keepjoerg1-1/+3
track of it here as well.
2007-01-25Some Linux distros have gawk and install in /bin.rpaulo1-1/+9
2007-01-22Add xinit as tool.joerg1-2/+13
2007-01-16Add modular Xorg support for iceauth and xmessage as tool, nukejoerg1-3/+24
makepsres at the same time. The latter wasn't used in pkgsrc and is related to DPS which is dead.
2007-01-08IRIX patch isn't usable.rillig1-2/+2
2007-01-08Added patch to the built-in IRIX tools. Without that definition, it isrillig1-1/+2
impossible to do any work, since almost all packages have patches and devel/patch has a broken configure script, which makes the build fail.
2007-01-02Fix typo in comment.wiz1-2/+2
2007-01-02Add font and imake tools for modular Xorg.joerg1-5/+87
2006-12-27Skip gs as tool during build of print/ghostscript6.joerg1-2/+3
2006-12-27Use print/ghostscript as default now that it is newer thanjoerg1-2/+2
print/ghostscript-gnu.
2006-12-15Remove trailing tabs.martti2-4/+4
2006-12-15Remove trailing spaces.martti2-4/+4
2006-12-13Darwin's bison is too old (1.28) to build some packagesminskim1-3/+4
(e.g. libgnomeprint). Comment out lines for the native bison and note why.
2006-12-12Darwin has bison.minskim1-1/+3
2006-12-05Recognize aclocal-1.10 and automake-1.10.wiz1-3/+5
2006-12-02Use /usr/bin/unzip as unzip on Darwin.minskim1-1/+2
2006-11-06Use the shell "test" builtin. Not only is it faster, but /bin/test istv1-2/+2
wrong about some of its results when using implied privileges (e.g., an account in group Administrators where the directory is writable by Users).
2006-11-03Add mkfontscale.joerg1-1/+9
2006-10-17If /usr/bin/printf exists, it will be used.rillig1-1/+4
2006-10-17Added /usr/bin/printf.rillig1-1/+2
2006-10-17Use /usr/bin/printf if it exists.rillig1-1/+4
2006-10-15Teach how to unpack .gem files.minskim2-2/+14
2006-10-15Darwin has gm4 and printf.minskim1-1/+3
2006-09-27Remove XFree86.joerg1-13/+3
2006-09-15Now, gettext tools is available from devel/gettext-tools, so prioritizeobache1-2/+2
gettext-tools over gettext.
2006-08-25Make sure that /usr/bin/wish exists before using it as a tool.minskim1-1/+3
2006-08-07Add "dvipdf" to the list of tools provided by ghostscript.cube1-2/+2
2006-08-06Handle the share/pkgconfig directory where platform-independent packagesjmmv1-2/+2
(e.g. gtk-doc 1.6) want to install .pc files.
2006-07-25Move barrier to just after the depends phase. This allows both thejlam1-5/+4
"tools" and "wrapper" phases to be able to expect all the dependencies to be installed already.
2006-07-21Rearrange sequence so that "wrapper" occurs between "tools" andjlam1-1/+5
"extract". This allows all user-definable targets (pre-*, do-*, post-*) to have access to the wrapper scripts.
2006-07-13Add DIGEST to the variables defined by default.jlam1-1/+2
2006-07-13* Add a new stage "bootstrap-depends" that happens before all otherjlam3-2/+87
stages, and that installs dependencies listed in BOOTSTRAP_DEPENDS. The bootstrap-depends step works just like the normal depends step and honors the value of DEPENDS_TARGET. It's now possible to add dependencies solely to facilitate fetching the distfiles, e.g. BOOTSTRAP_DEPENDS+= curl-[0-9]*:../../www/curl * Teach the tools framework about ":bootstrap" as a tools modifier which indicates the tool should be added as a dependency via BOOTSTRAP_DEPENDS. * Add "digest" to the tools framework. * Use USE_TOOLS+=digest:bootstrap to force pkgsrc to install digest before anything else. Get rid of unused "uptodate-digest" target and related digest version-checking code. * Finish the refactoring work: split checksum-related code out of bsd.pkg.mk and into pkgsrc/mk/checksum and replace the "checksum" target command list with a script that does all the real work. * Make DIGEST_ALGORITHMS and PATCH_DIGEST_ALGORITHM into private variables by prepending them with an underscore. Also, rename _PATCH_DIGEST_ALGORITHM to _PATCH_DIGEST_ALGORITHMS and adjust the makepatchsum target to allow that variable to contain a list of algorithms, all of which are used when creating the patch checksums for ${DISTINFO_FILE}.
2006-07-10Back out revision 1.172 of mk/tools/replace.mk -- we never want tojlam2-6/+6
allow IMAKE to be set by anything other than the tools framework. Modify the IRIX files so that the native imake is listed as a built-in tool in the case where X11_TYPE is "native". Also, move the include of tools/default.mk a bit lower in bsd.prefs.mk so that tools.${OPSYS}.mk files can use the value of X11_TYPE. This should properly set and point IMAKE to the right binary on IRIX without destroying the configuration for platforms where IMAKE was not explicitly set, i.e. every non-IRIX platform.
2006-07-10The wrapper for perl silently failed, giving no hint thatrillig2-3/+11
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-07-08make sure the IMAKE definition, if set, is used in case X11_TYPE is nativeschwarz1-2/+5
2006-07-07Rename <phase>_COOKIE variables to _COOKIE.<phase>. These are privatejlam1-10/+10
variables so there are no user-visible changes. This change just makes it a little easier to write for loops.
2006-07-06The cookie files are indirectly made using *-cookie targets, so verifyjlam1-1/+2
that they are never being created more than once by inserting a check into the *-cookie targets.
2006-07-05Flatten out recursive makes into a single re-invocation of make byjlam1-4/+9
introducing the concept of a "barrier". We separate the user-invokable targets into ones that must happen before the barrier, and ones that must happen after the barrier. The ones that happen after the barrier are run in a sub-make process. In this case, the targets that must be run after the barrier are from the "wrapper" step and beyond. We rewrite the various "flow" targets, e.g. wrapper, configure, build, etc., so that they of the right form to use the barrier target. This now completely removes the concept of PKG_PHASE from pkgsrc. It is replaced with the concept of "before" and "after" the barrier, and this state can be checked by testing for the existence of the barrier cookie file. Because we've removed most of the recursive makes, there is now nowhere to hook the PKG_ERROR_HANDLER.* commands, so remove them for now. As part of this commit, put back the logic that conditionalized the sources for the various cookie files. Because the sources are all "phony" targets, they were always run, regardless of whether or not the cookie file already existed. Now, if a cookie file exists, then that entire phase associated with that cookie file is skipped. Lastly, fix a thinko in configure/bsd.configure.mk where setting NO_CONFIGURE in a package Makefile would manage to skip the "wrapper" step altogether. Fix this by correctly noting "wrapper" and not "patch" as the preceding step to "configure".
2006-07-05Only override intltool if the intltool tool was requested.jlam1-2/+4
2006-07-05Make the check-vulnerable target more self-sufficient, by moving somejlam1-7/+7
of the logic from fetch/fetch.mk into flavor/pkg/check.mk, so that check-vulnerable can be used as a source target. Make check-vulnerable a source target for every phase of the build workflow, which ensures that it is always run if the user starts a new phase from the command line. Fix the cookie-generation targets so that they don't append, only overwrite to the cookie file. This works around potential problems due to recursive makes. Move the cookie checks so that they surround the corresponding phase target. The presence of the cookie should now inform the make process to avoid doing any processing of phases that occur before the phase corresponding to the cookie.
2006-07-05Since intltool is now a tool, we might as well require the latest pkgsrcjlam1-2/+2
version by default.
2006-07-05Teach the tools framework about the following new tools:jlam12-18/+165
itools, intltool, diff3, sdiff, msgmerge * Adding USE_TOOLS+=itools to a package Makefile will cause the tool-directory versions of imake, makedepend, mkdirhier and xmkmf to point to the ones from the devel/nbitools package. This change will remove the need for nbitools/buildlink3.mk, which currently does a bit of hackery to force the "right" imake tools to be used by packages that need it. * Adding USE_TOOLS+=intltool to a package Makefile will cause the local versions of intltool-* inside ${WRKSRC} to be replaced by copies from the textproc/intltool package. If "intltool" is not specified as a tool, then we create "broken" intltool-* tools in the tools directory to help highlight hidden dependencies on the intltool package. In addition, modify the tools framework so that if "perl" is not specified as a tool, then we create a "broken" perl tool in the tools directory for the same reason as for "intltool". These two changes together will remove the need for intltools/buildlink3.mk and should also catch all cases where the sources' intltools may have been silently used because perl was found on the system. * Adding USE_TOOLS+=diff3, USE_TOOLS+=sdiff, or USE_TOOLS+=msgmerge to a package Makefile will cause the corresponding tool to be pulled into the tools directory. These are convenience tools to help simplify dependencies for some packages.
2006-06-26m4 might not exist e.g. on Slackware, conditionalize it.joerg1-1/+3
2006-06-23Change the way that "\c" is processed within the msg strings: if wejlam1-1/+49
see \c, where c is anything but a legal character as defined by msgfmt-0.10.35, then replace the backslash with a '?'. Yes, this is a hack, but it works around a bug in the way that older msgfmt mis-identifies some "control" sequences. This fixes building of zh_TW.po in x11/matchbox-panel as noted in the bulk build results: http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html While here, note in a header comment which packages' *.po files to use for regression tests whenever changes to this file are made.
2006-06-20Executiing "msgfmt ru" should look for "ru" and then "ru.po" forjlam1-1/+16
processing. Allow for this possiblity by falling through both names when given input files. This fixes the builds of sysutils/dfuibe_installer and sysutils/dfuife_curses noted in the bulk build results: http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html
2006-06-20Allow for arbitrary whitespace on the line before seeing any of thejlam1-3/+3
msg* keywords. This fixes parsing es.po in multimedia/gmencoder noted in the bulk build results: http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html
2006-06-20Use /bin/tcsh only when it exists. A minimal installtion of Linux mayminskim1-1/+3
not have it.
2006-06-16Allow packages to set a post-tools target again (which fixes recentjlam1-3/+46
lossage when building security/openpam). Utilize a tools cookie file to ensure that the post-tools target is only ever run once to avoid tricky coding requirements for the post-tools target. Also document some more of the targets.