Commit graph

233 commits

Author SHA1 Message Date
joerg
e717686df8 Add modular Xorg support for iceauth and xmessage as tool, nuke
makepsres at the same time. The latter wasn't used in pkgsrc and
is related to DPS which is dead.
2007-01-16 21:45:38 +00:00
wiz
135550fe6d Fix typo in comment. 2007-01-02 23:14:54 +00:00
joerg
1058b1cf14 Add font and imake tools for modular Xorg. 2007-01-02 11:37:18 +00:00
joerg
16d189a229 Skip gs as tool during build of print/ghostscript6. 2006-12-27 19:27:40 +00:00
joerg
e74c040a78 Use print/ghostscript as default now that it is newer than
print/ghostscript-gnu.
2006-12-27 19:22:18 +00:00
joerg
d2a1a112b6 Add mkfontscale. 2006-11-03 19:08:58 +00:00
minskim
3cc5058c86 Teach how to unpack .gem files. 2006-10-15 01:56:06 +00:00
joerg
3675902ba1 Remove XFree86. 2006-09-27 15:18:12 +00:00
cube
7e44cbf35d Add "dvipdf" to the list of tools provided by ghostscript. 2006-08-07 14:54:14 +00:00
jlam
7a2c97d53f * Add a new stage "bootstrap-depends" that happens before all other
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-13 14:02:34 +00:00
jlam
eb27d05acd Back out revision 1.172 of mk/tools/replace.mk -- we never want to
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-10 22:17:58 +00:00
schwarz
c25fbde9c9 make sure the IMAKE definition, if set, is used in case X11_TYPE is native 2006-07-08 23:08:59 +00:00
jlam
bb74d3bb13 Teach the tools framework about the following new tools:
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-07-05 04:32:10 +00:00
jlam
29133ee234 Teach the tools framework about "openssl". 2006-06-14 16:57:07 +00:00
jlam
1b717c210d Stop supporting user-specified definition for IMAKE in /etc/mk.conf --
it's now all handled exclusively by the tools framework.
2006-06-06 19:25:59 +00:00
jlam
cd1230e8e3 Separate out the part of bsd.tools.mk that actually created the tools
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.
2006-06-06 06:30:29 +00:00
jlam
872507ebf5 Teach the tools framework about "groff" as a tool. 2006-05-21 16:55:21 +00:00
jlam
d0f812f4cb Move the gettext tools handling to mk/tools/gettext.mk. We ensure
that we use the pkgsrc versions of xgettext and gettext if we're also
using the pkgsrc version of msgfmt.
2006-04-13 19:24:29 +00:00
jlam
0f4967eb59 Overhaul the way packages can ask for "msgfmt". If a package needs
msgfmt, then it should set the following in the package Makefile:

	USE_TOOLS+=	msgfmt

To deal with message files that use the "msgid_plural" statement,
which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we
determine if the built-in "msgfmt" is sufficiently new enough to
understand "msgid_plural".  If it isn't, then we use the msgfmt.sh
script to transform the msgid_plural statements to an equivalent
construct that's understood by older msgfmt tools.

The msgfmt.sh script is a straightforward translation of the original
perl script msgfmt.pl script by Julio M. Merino Vidal into shell and
awk, which are more lightweight dependencies than perl.

We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they
are made obsolete by the new code in mk/tools/msgfmt.mk.

BUILD_USE_MSGFMT is still supported but will be removed in a separate
commit.
2006-04-13 16:35:57 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
766f664aef Teach the tools framework about "texi2html". 2006-03-19 23:40:07 +00:00
jlam
ac1b7b84dd Teach the tools framework about "makedepend", supplied by the imake
packages.
2006-03-16 22:31:59 +00:00
jlam
2d8270de7f Teach the tools framework how to supply a pkgsrc version of install-info
if a native one isn't available.  We ensure that the "install-info"
tool in the tools directory is a no-op since the real info file
registration is handled by the INSTALL/DEINSTALL script in
pkgsrc/mk/pkginstall/install-info.
2006-03-06 05:25:45 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
rillig
c68eda5945 Instead of passing only the path to the tools to CONFIGURE_ARGS, pass
the complete command. This fixes problems when EGREP is defined as "grep
-E" instead of "egrep".
2006-02-21 17:39:32 +00:00
wiz
177382d089 Fix typo in type1inst depends line. 2006-02-17 19:31:33 +00:00
jlam
aba46732d5 Teach the tools framework about various gettext-tools: gettext, msgfmt,
and xgettext.  These are supplied by devel/gettext-tools if not present
in the base system.
2006-02-11 00:23:24 +00:00
jlam
63b6d811e1 Actually heed the value of IMAKE if it is set by the user. 2006-01-28 00:32:31 +00:00
jlam
7a25bc452c Fix a typo that was causing imake, mkdirhier and xmkmf to not be created
as tools in the tools directory.
2006-01-12 19:26:02 +00:00
jlam
3c30c2b533 Re-implement some code that was lost in revision 1.144 so that IMAKE may
be overridden to point to the path of the imake binary to use.
2006-01-12 18:29:03 +00:00
jlam
228eeacad9 Teach the tools framework about the ``ksh'' tool, provided by the
shells/pdksh package if it doesn't exist on the base system.
2006-01-09 18:32:52 +00:00
jlam
4593519ecc Teach the tools framework about "gsoelim", which is the soelim tool from
a groff distribution.
2006-01-08 23:00:00 +00:00
jlam
ff83ba02a2 Consolidate groff-supplied tools into one section. 2006-01-08 22:09:05 +00:00
jlam
91abe4f16b Teach the tools framework about ttmkfdir and type1inst. 2005-12-28 22:41:27 +00:00
jlam
3608385513 Whitespace changes to align with other sections. 2005-12-28 22:26:50 +00:00
jlam
f4717afe89 Consolidate xmkmf with the other "imake" tools. 2005-12-28 22:21:19 +00:00
reed
7c96304247 For the x11-clients section, use "XFree86-clients" instead of
"imake" for the TOOLS_PREFIX (for the XFree86-clients provided tool).

(Asked about on tech-pkg and jlam said to commit.)
2005-12-28 16:46:38 +00:00
reed
bbb8d7bfe7 Add makepsres to _TOOLS.x11-clients.
(makepsres used for lyx install for example.)
2005-12-28 04:24:37 +00:00
jlam
6156dddfc7 If bison is used, always pass YACC="bison -y". This should fix
PR pkg/31493, where YACC="bison" was wrongly being passed to the
configure script.
2005-12-22 18:55:41 +00:00
joerg
479de5b14d Add mkdirhier to the tools provided by an imake package.
Move the code down to the X11 clients handling as suggested by jlam@.
2005-12-22 14:49:10 +00:00
wiz
40b2ba02ff Desupport the various ghostscript*x11* packages (replaced by x11 option). 2005-12-09 20:32:22 +00:00
joerg
d9c8d8f5ad xmessage is another X11 client used by other programs. 2005-12-03 21:03:47 +00:00
wiz
1189c2f0ed Remove NO_X11 handling completely -- it is not referenced anywhere
else in pkgsrc.
2005-12-01 18:38:45 +00:00
wiz
0f14d10fce Remove support for obsolete USE_CUPS variable.
Fix NO_X11 handling according to my guess how it should behave
(instead of being a clause with no effect).
2005-12-01 18:25:27 +00:00
joerg
a68b97b857 Add iceauth as x11-client tool, used by x11/xfce4-session. 2005-12-01 15:02:22 +00:00
rillig
86d2fdd58a The make(1) of NetBSD 1.6.2 gets confused by complicated conditionals
involving undefined variables. Added a work-around by splitting up the
conditionals.

Fixes PR 32206.
2005-12-01 09:24:09 +00:00
jlam
ec87e5b5a9 Teach the tools framework about gs, pdftops and pstopdf, which can be
supplied by one of several Ghostscript packages.  The minimum required
version of Ghostscript can be specified in GHOSTSCRIPT_REQD, which
defaults to "6.01".
2005-11-28 06:06:16 +00:00
jlam
43471231f2 Fix a copy-and-paste bug that probably caused some tools to not be
created on platforms lacking "coreutils", "grep", or "diffutils".
2005-11-28 05:39:20 +00:00
jlam
b49397bb19 Teach the tools framework about wish and tclsh, and set WISH and TCLSH
accordingly for packages that need it.
2005-11-08 23:06:38 +00:00
jlam
0b3f4b2593 Teach the tools framework how to replace mkfontdir and mkfontscale
using an X11 clients package.
2005-11-08 17:41:26 +00:00
jlam
f00b513900 Consolidate blocks for tools that were supplied by the same package into
a loop so that it's easier to maintain and add new tools.
2005-11-08 17:38:52 +00:00
tv
312e7c87c7 Add "soelim", also part of groff if replacement is needed. 2005-11-08 03:36:13 +00:00
jlam
72750fdc87 Teach the tools framework about "sleep" which can be provided by the
sysutils/coreutils package.
2005-11-04 20:02:01 +00:00
jschauma
92854abe05 If we're using devel/patch, then we know that we can create backup files
and how, so set this.
Fixes problems observed under (at least) IRIX, where otherwise a call to

gpatch ${_PATCH_BACKUP_ARG} .orig <patch

would fail, as ${_PATCH_BACKUP_ARG} would be the empty string.
2005-10-30 17:32:07 +00:00
schwarz
a0fe98b535 modification to increase imake handling flexibility for IRIX (in particular
with respect to IRIX 5).
Changes approved by jschauma and recht.
2005-10-16 19:38:05 +00:00
jlam
2f774b2802 Teach the tools framework about ``printf'', which can be replaced by the
printf in sysutils/coreutils.
2005-10-12 16:28:29 +00:00
reed
1200615919 x11/imake was changed to x11/XFree86-imake. Also package name
changed to XFree86-imake.
2005-10-10 17:22:05 +00:00
jlam
1403b1ed13 Teach the tools framework about "byacc", which is a Berkeley-compatible
YACC.  This should be used by packages that require NOT using bison
(maybe because bison can't handle the .y file) but still need a yacc.
2005-09-20 03:50:18 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
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-10 20:56:10 +00:00
jlam
1a4f92a3d5 Fix a cut-and-paste bug. 2005-08-10 06:08:48 +00:00
jlam
86f9268481 Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
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-08-06 06:18:44 +00:00
jlam
4e9386339e Provide a "pod2man" tool used by some packages to build man pages.
Based on suggestion by Matthias Drochner.
2005-07-26 20:00:50 +00:00
jlam
1465d7a6cc We only need to recognize TOOLS_IGNORE.* in the case where the tool
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-25 21:51:19 +00:00
jlam
11577c4d6a There is a new variable TOOLS_VALUE_GNU.<tool> for each tool that is the
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-19 04:18:51 +00:00
jlam
c6bbbf9c86 Whitespace fix. 2005-07-19 03:01:13 +00:00
jlam
4f9ec32e34 Avoid trailing spaces in TOOLS_<TOOL> values if TOOLS_ARGS.* is empty. 2005-07-18 21:40:55 +00:00
jlam
6f766967b6 Export a new variable TOOLS_CMDLINE_<TOOL> that holds the full command
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-18 02:33:27 +00:00
jlam
eb1a0153f2 Back out previous... the value will be exported in a different way. 2005-07-17 22:12:08 +00:00
jlam
af0d1a3145 Export a new variable "TOOLS_<TOOL>_PATH" that holds only the path to the
tool.  This variable is defined if <TOOL> is defined for that tool (see
tools/defaults.mk) and TOOLS_PATH.<tool> is set.
2005-07-17 22:07:49 +00:00
jlam
2f9e01f9ca Rename the following variables for brevity:
TOOLS_REAL_CMD.<tool>		=> TOOLS_PATH.<tool>
	TOOLS_REAL_ARGS.<tool>		=> TOOLS_ARGS.<tool>
	TOOLS_REAL_CMDLINE.<tool>	=> TOOLS_CMDLINE.<tool>
2005-07-17 21:36:24 +00:00
jlam
84e1bc1cb5 Redo workaround in revision 1.111. We now use a loop to copy one list
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-17 20:51:04 +00:00
jlam
b563e8eb9b There is still one small but important distinction between some of the
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-16 22:33:18 +00:00
jlam
e6ab9808fa Changing := to = here fixes a bug seen in x11-links where _USE_TOOLS
was empty.

XXX I have no idea why this fixes the problem.
2005-07-16 05:34:59 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
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-16 01:19:06 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
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-15 20:14:02 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
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-15 18:27:48 +00:00
minskim
1766fa83af Fix another typo (TOOLS_READ_CMD -> TOOLS_REAL_CMD). 2005-06-24 21:21:31 +00:00
minskim
b27f349884 Fix a typo. 2005-06-24 21:17:01 +00:00
jlam
73e8531006 Teach the tools framework about csh, and replace with tcsh if necessary. 2005-06-24 20:59:59 +00:00
minskim
317318f0f0 Support bash as a tool, so that packages containing bash scripts
(e.g. graphics/netpbm) use native bash if available.
2005-06-24 19:39:10 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
jlam
805d6d300a Teach the tools framework about "diff". 2005-06-23 20:39:39 +00:00
jlam
9b5d98e50b "cmp" can be "gcmp" if we use the one from pkgsrc. 2005-06-23 20:35:55 +00:00
jlam
9a2b543ac3 Remove unnecessary .undef lines after .for loops as the loop variables
are automatically undefined after the loop exits.
2005-06-11 05:22:03 +00:00
jlam
c55f2fb319 Teach the tools framework about mktemp. Replace explicit tests for
mktemp with USE_TOOLS+=mktemp in the samba packages.
2005-06-03 22:54:44 +00:00
jlam
dd2b1cf653 Teach the tools framework about bdftopcf and remove
x11-clients.buildlink3.mk.  Packages that need bdftopcf should say:

	USE_TOOLS+=	bdftopcf
2005-06-03 21:11:06 +00:00
jlam
493a44f926 Back out previous change, and correct the surrounding check -- we need
to see if _USE_TOOLS contains "perl", not USE_TOOLS.
2005-06-02 21:03:32 +00:00
tron
286d96e77f Test whether "_TOOLS_USE_PKGSRC.perl" is defined before checking its value.
This makes "make fetch-list" in "pkgsrc/meta-pkgs/kde3" work again.
2005-06-02 09:31:25 +00:00
jlam
72f6164581 Teach the tools framework about nroff. 2005-05-26 21:46:13 +00:00
jlam
19ef841612 Teach the tools framework about "flex" so that packages can specify
that they require flex instead of any old lex.
2005-05-23 01:20:50 +00:00
jlam
163b6e6c2b Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl. 2005-05-22 21:04:41 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
b3ff0bed40 Allow a tool to be passed to GNU configure scripts under more than
one name.
2005-05-22 01:56:27 +00:00
jlam
5792714269 For packages that use GNU configure scripts, pass the real command
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-21 23:09:36 +00:00
jlam
3b3b871622 Grammar 101 -- sentences should end in a period. 2005-05-21 04:53:17 +00:00
jlam
6cb4436e71 Add TNF copyright to the new tools framework makefiles. 2005-05-21 04:46:52 +00:00
jlam
28e2995cd1 We can only use the subst.mk framework if the files are relative to
${WRKSRC}.  Just directly create the msgfmt wrapper in the proper
target.  Also, note that the msgfmt handling should eventually migrate
to the tools framework so that build dependencies and binary paths are
correct.
2005-05-19 20:08:44 +00:00
jlam
10b0f8d012 Merge most of imake.mk into replace.mk and leave imake.mk to contain
the extra bits required by packages that use imake/xmkmf.  This
consolidates most of the replacement tools handling into replace.mk.
2005-05-19 05:27:25 +00:00
jlam
0e05f46639 Merge most of perl.mk into replace.mk and leave perl.mk to contain
the extra bits required by packages that use perl.  This causes
PKGSRC_USE_TOOLS+=perl to work properly.
2005-05-19 03:52:23 +00:00
jlam
2046497558 Properly deal with case where TOOL_DEPENDS.* is a list of values by
iterating over each dependency in the list.
2005-05-19 02:27:38 +00:00