summaryrefslogtreecommitdiff
path: root/mk/tools
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-06-03Teach the tools framework about mktemp. Replace explicit tests forjlam9-9/+31
mktemp with USE_TOOLS+=mktemp in the samba packages.
2005-06-03Teach the tools framework about bdftopcf and removejlam1-1/+20
x11-clients.buildlink3.mk. Packages that need bdftopcf should say: USE_TOOLS+= bdftopcf
2005-06-02Back out previous change, and correct the surrounding check -- we needjlam1-4/+3
to see if _USE_TOOLS contains "perl", not USE_TOOLS.
2005-06-02Test whether "_TOOLS_USE_PKGSRC.perl" is defined before checking its value.tron1-2/+3
This makes "make fetch-list" in "pkgsrc/meta-pkgs/kde3" work again.
2005-06-01Remove mk/autoconf.mk and mk/automake.mk and replace their usage withjlam2-28/+2
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
2005-06-01Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf.jlam1-3/+3
2005-05-26Teach the tools framework about nroff.jlam12-12/+37
2005-05-23Work around brokenness in GNU configure scripts generated by autoconf-2.59ajlam1-3/+3
-- the checks for grep and egrep are broken because when passed GREP and EGREP in the environment, the script causes GREP and EGREP to be set to empty strings, which causes GNU configure scripts to hang or break. Pass the real paths to grep and egrep through using ac_cv_path_GREP and ac_cv_path_EGREP as well to avoid the brokenness. This fixes the build of textproc/gsed.
2005-05-23Teach the tools framework about "flex" so that packages can specifyjlam6-6/+33
that they require flex instead of any old lex.
2005-05-22Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl.jlam1-6/+3
2005-05-22Don't add "INSTALL" to CONFIGURE_ENV as bsd.pkg.mk adds special valuesjlam1-2/+1
for INSTALL by itself during the configure stage. This fixes problems with GNU configure scripts using the wrong value of INSTALL.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-6/+3
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-05-22Do not enable _IMAKE_TOOLS unless imake is used. Otherwise, packagesminskim1-1/+3
would always be built with gmake on Linux.
2005-05-22Some packages want to embed the path to the perl tool in scripts butjlam1-1/+13
don't want to depend on perl, e.g. devel/cvs. Provide values for TOOLS_PERL5 and PERL5 even if the package doesn't ask for the perl tool.
2005-05-22The path to perl is now passed via CONFIGURE_ENV as of revision 1.9 ofjlam1-7/+1
mk/tools/replace.mk.
2005-05-22Allow a tool to be passed to GNU configure scripts under more thanjlam1-5/+5
one name.
2005-05-22Add a few more tools for GNU configure scripts: grep, env, xmkmf.jlam1-1/+4
2005-05-21For packages that use GNU configure scripts, pass the real commandjlam2-2/+51
paths for the tools that the package uses through the shell environment. We do this since these paths may be hardcoded into package scripts, and if they're not pre-specified, then they'll be searched for in the PATH, which would find the ones in ${TOOLS_DIR}. The variable names that GNU configure scripts expect are named in _TOOLS_VARNAME_GNU.* for the various tools.
2005-05-21Grammar 101 -- sentences should end in a period.jlam13-26/+26
2005-05-21Add TNF copyright to the new tools framework makefiles.jlam13-13/+480
2005-05-20Only add the autoconf tool if the user also requested automake. Thisjlam1-3/+5
avoids making autoconf required by every package in pkgsrc.