summaryrefslogtreecommitdiff
path: root/mk/tools
AgeCommit message (Collapse)AuthorFilesLines
2005-08-30revert to /usr/bin/tr per an email from Grant. Seems /usr/xpg4/bin/trdmcmahill1-2/+2
has enough problems of its own.
2005-08-28Support BSD/OS 5.0 also as some tools are in new locations.reed1-1/+17
Thank you, T. M. Pederson. This is PR #31081.
2005-08-26Make sure file exists before defining TOOLS_PLATFORM.mktemp.reed1-1/+3
2005-08-23use /usr/xpg4/bin/tr instead of /usr/bin/trdmcmahill1-2/+2
2005-08-16Turn the location of the *.pc files in which the pkg-config wrapper willjlam1-5/+5
look into a private variable _PKG_CONFIG_LIBDIR. This variable should *NOT* be settable by the user.
2005-08-10Remove the abuse of buildlink that was pkg-config/buildlink3.mk. Thatjlam3-2/+64
file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10Fix a cut-and-paste bug.jlam1-2/+2
2005-08-10No version of FreeBSD has /usr/bin/shlock.jlam1-4/+1
2005-08-08Set TOOLS_PLATFORM.shlock only if exists the binary on /usr/bin,xtraeme1-1/+3
reported by Lars Nordlund via tech-pkg@.
2005-08-06Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updatesjlam2-10/+4
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads bugfixes. The major changes are in the pkgsrc infrastructure to handle Perl and Perl modules. All pkgsrc-installed Perl modules are now installed in "vendor" directories, and the perl interpreter has been modifed to search for libraries in the following order: site, vendor, perl. The Perl library is stored in a directory that is named for the Perl ABI version associated with the Perl release, so any updates of Perl to newer versions can be done "in-place" as long as Perl ABI version remains the same. All Perl scripts and man pages are stored in locations that won't conflict between site, vendor, and perl modules, and a new utility perllink(1) now manages symlinks to those scripts and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1. PERL5_SITEPREFIX may be set to the prefix where local, site-specific modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note that modules installed here are completely unmanaged by pkgsrc. Update the buildlink and tool dependencies on perl to require perl>=5.8.7 to reflect the new locations for Perl modules and the Perl shared library.
2005-07-31Solaris may have tbl(1) from the SUNWdoc package. avoids unnecessarygrant1-1/+6
dependency on groff just for tbl(1) when available in the base system. also, add .if exists() around nroff(1) because SUNWdoc is optional.
2005-07-30No need to define TOOLS_PLATFORM.gtar for Darwin and Linux,seb1-3/+1
it is correctly defined in tools.Darwin.mk and tools.Linux.mk.
2005-07-26Provide a "pod2man" tool used by some packages to build man pages.jlam2-2/+15
Based on suggestion by Matthias Drochner.
2005-07-25We only need to recognize TOOLS_IGNORE.* in the case where the tooljlam1-5/+4
is pkgsrc-supplied. In other cases, e.g. using the system tool, falling back toS the system tool, etc., we should still create wrappers and set "TOOL" variables.
2005-07-19There is a new variable TOOLS_VALUE_GNU.<tool> for each tool that is thejlam1-11/+25
value passed via the shell environment to the GNU configure script for each of the "GNU" variables names for the tool. It defaults to the full path to the real tool so that these may be safely embedded in scripts and config files. One exception is the value for YACC when we use bison. In that case, pass YACC="bison -y" to the configure script so that we will invoke bison in yacc-compatibility mode.
2005-07-19Whitespace fix.jlam1-2/+2
2005-07-18Avoid trailing spaces in TOOLS_<TOOL> values if TOOLS_ARGS.* is empty.jlam1-2/+6
2005-07-18Export a new variable TOOLS_CMDLINE_<TOOL> that holds the full commandjlam1-134/+59
line (path and arguments) needed to run the real tool. Modify TOOLS_<TOOL> to hold only the path to the real tool. Modify falcons-eye/Makefile and qt3-libs/Makefile.common to use TOOLS_CMDLINE_YACC instead of TOOLS_YACC to that they'll use "bison -y".
2005-07-17Rename variable: TOOLS_CMDLINE.<tool> => TOOLS_SCRIPT.<tool> to betterjlam2-23/+23
reflect the possible variable contents.
2005-07-17Back out previous... the value will be exported in a different way.jlam1-4/+1
2005-07-17Export a new variable "TOOLS_<TOOL>_PATH" that holds only the path to thejlam1-1/+4
tool. This variable is defined if <TOOL> is defined for that tool (see tools/defaults.mk) and TOOLS_PATH.<tool> is set.
2005-07-17Rename the following variables for brevity:jlam10-250/+249
TOOLS_REAL_CMD.<tool> => TOOLS_PATH.<tool> TOOLS_REAL_ARGS.<tool> => TOOLS_ARGS.<tool> TOOLS_REAL_CMDLINE.<tool> => TOOLS_CMDLINE.<tool>
2005-07-17Redo workaround in revision 1.111. We now use a loop to copy one listjlam1-2/+4
to another. This appears to fix whatever hidden bug a bit more completely. "make show-var VARNAME=RM" in pkgsrc/x11/kdepim3 no longer returns an empty value. XXX I still have no idea why this "fixes" the problem. I can't seem to XXX create a test case that exposes this problem.
2005-07-16There is still one small but important distinction between some of thejlam1-7/+11
tools listed in USE_TOOLS -- some of them are required by the pkgsrc infrastructure in variable assignment statements that look like: VARIABLE!= ${AWK} ... These tools are actually *required* by pkgsrc to be installed on the system before it can even work (bootstrap situation). For these tools, only override the "TOOL" name representing the tool if we're really using the pkgsrc version of the tool. We accomplish this by adding a new :pkgsrc modifier that is appended to these tools listed in USE_TOOLS. We also list these tools in bsd.prefs.mk so that all packages pick them up fairly early on.
2005-07-16Changing := to = here fixes a bug seen in x11-links where _USE_TOOLSjlam1-2/+2
was empty. XXX I have no idea why this fixes the problem.
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-12/+1
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-07-15Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify ajlam4-42/+98
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier to the tool name, e.g., USE_TOOLS+= perl:run Tools without modifiers or with an explicit ":build" modifier will cause build dependencies (BUILD_DEPENDS) on those tools to be added. This makes the notation a bit more compact.
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam3-30/+18
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
2005-07-08"imake" may be defined in PKGSRC_USE_TOOLS instead of USE_TOOLS, so addjlam1-1/+4
any IMAKE_TOOLS in that case as well.
2005-07-07MacOS X 10.[34] have /usr/bin/shlock (from <schmonz>).jlam1-1/+4
2005-06-24Fix another typo (TOOLS_READ_CMD -> TOOLS_REAL_CMD).minskim1-2/+2
2005-06-24Fix a typo.minskim1-2/+2
2005-06-24Teach the tools framework about csh, and replace with tcsh if necessary.jlam15-15/+41
2005-06-24Create TOOLS_LDCONFIG and LDCONFIG variables that contain the actualjlam1-5/+7
command that can be embedded into packages. Calling a bare "ldconfig" will still call the one in the tools directory, which always does the right thing.
2005-06-24Remove unused variable _TOOLS_VARNAME.ldconfig.jlam1-2/+1
2005-06-24Darwin may have bzcat.minskim1-1/+4
2005-06-24Support bash as a tool, so that packages containing bash scriptsminskim4-4/+19
(e.g. graphics/netpbm) use native bash if available.
2005-06-24Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and updatejlam1-3/+3
lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead.
2005-06-23Note locations for native diff tools.jlam13-13/+34
2005-06-23Teach the tools framework about "diff".jlam2-2/+16
2005-06-23"cmp" can be "gcmp" if we use the one from pkgsrc.jlam1-2/+2
2005-06-17The OpenBSD chgrp and chown can be in different places depending on thejlam1-1/+9
OpenBSD release, so check for the right location.
2005-06-17Pull out the LS and TR definitions from algae/Makefile and place themjlam1-1/+3
in tools/defaults.mk where they can be more widely used.
2005-06-17PERL_PATH is also a common GNU configure script variable for the path tojlam1-2/+2
the perl interpreter.
2005-06-16provide defaults for bzcat and tbl to avoid unnecessary buildgrant1-1/+9
dependencies on archivers/bzip2 and textproc/groff when they are available in the base system.
2005-06-14Make IMAKE_TOOLS into a publicly-readable variable so that it can bejlam1-4/+4
used by pkgtools/xpkgwedge.
2005-06-11Remove unnecessary .undef lines after .for loops as the loop variablesjlam6-27/+6
are automatically undefined after the loop exits.
2005-06-10Force an autoconf "cache" override for tools that are likely to bejlam1-2/+5
shell builtins, e.g. echo, false, test, true, since those tools don't have a full path.
2005-06-07Add another common name for the GNU configure variable name used for thejlam1-2/+2
"env" tool.
2005-06-07Add a few more GNU configure variable names that are commonly used.jlam1-2/+7
Also, some configure scripts use "ENV" to represent the path to the "env" tool, which is probably bad since ENV has a special meaning to /bin/sh. To workaround this, set ac_cv_path_ENV.