Commit graph

46 commits

Author SHA1 Message Date
jperkin
c473933452 Add curl tool on Darwin and Linux if it exists, as it is very common. 2012-07-27 14:38:26 +00:00
jperkin
bc45ca205a Add native pax. 2012-05-18 20:45:15 +00:00
joerg
77b71deea2 Don't pick up GNU patch on Darwin, Linux and SunOS. It has a number of
restrictions including line length, asymmetric context and interaction
with read-only patches. It is just not worth the trouble.
2011-12-14 03:17:25 +00:00
adam
b5e6df1429 Added TOOLS_PLATFORM.bsdtar 2010-11-09 07:57:16 +00:00
adam
8b52e5d234 Added soelim 2010-10-28 07:31:29 +00:00
adam
ea427d7fba No ldconfig on Darwin 2010-10-21 12:21:01 +00:00
yyamano
7a0380bda3 Add TOOLS_PLATFORM.groff. groff has been installed at least since 10.4.
Fixed pkg/41903. Thanks Jesse!
2009-08-18 04:38:24 +00:00
schwarz
ef6511fc74 Do not use GNU m4 shipped with the OS on systems prior to Mac OS 10.5.
10.4 shipped with gm4 1.4.2, 10.3 came with 1.4.
This is not recent enough for some packages (specifically devel/autoconf),
so use pkgsrc's gm4 instead.
Fixes PR#40329.
2009-01-22 20:14:04 +00:00
dbj
a0fe06f193 set TOOLS_PLATFORM.ftp to /usr/bin/ftp 2008-07-21 17:34:19 +00:00
tron
f895dbe21c Don't use the bundled GNU Make on Mac OS X version older than Leopard.
Some packages (e.g. "openjade") require GNU Make 3.81 which is not
included in older versions of Mac OS X.
2008-02-13 23:09:24 +00:00
tron
6c41167104 Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".
The later is shell script which tries to execute "<current-dir>/flex"
under Mac OS X Leopard. This resulted in an endless loop caused by
the buildlink wrappers.

This is backward compatible with at least Mac OS X Tiger where
"/usr/bin/lex" and "/usr/bin/flex" are identical.
2007-11-26 16:19:08 +00:00
tron
8947480a20 Don't try to use "/usr/bin/perl" as a tool under Darwin.
This breaks packages (e.g. "gimp") which need Perl with a certain module
that is only provided by "pkgsrc" as a build tool.
2007-11-22 16:39:47 +00:00
minskim
9826939622 Use native perl as a tool on Darwin. 2007-11-16 05:51:37 +00:00
joerg
93bf771184 Add bzip2 as tool. All platforms that had code to deal with bzcat
also get bzip2, the rest falls back to archivers/bzip2.

OK jlam.
2007-06-19 17:01:12 +00:00
joerg
f4ecc6bd31 Add ident as tool and use /usr/bin/ident on those platforms I know to
have it. Fallback to devel/rcs otherwise.

Commited during freeze as it is a dependency of pbulk.
2007-06-19 14:21:18 +00:00
minskim
91a6959169 Darwin's bison is too old (1.28) to build some packages
(e.g. libgnomeprint).  Comment out lines for the native bison
and note why.
2006-12-13 01:03:14 +00:00
minskim
e22aed1d47 Darwin has bison. 2006-12-12 23:44:25 +00:00
minskim
8890146bed Use /usr/bin/unzip as unzip on Darwin. 2006-12-02 05:30:35 +00:00
minskim
980fbcd313 Darwin has gm4 and printf. 2006-10-15 01:31:23 +00:00
minskim
6220854e14 Make sure that /usr/bin/wish exists before using it as a tool. 2006-08-25 10:03:02 +00:00
jlam
29133ee234 Teach the tools framework about "openssl". 2006-06-14 16:57:07 +00:00
minskim
732edfe9b5 Teach the tools framework about Darwin's tclsh and wish. 2006-03-08 21:18:43 +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
tron
422b96cdc7 (At least) Mac OS X Tiger comes with a fine working "tbl" command. 2006-01-16 21:50:46 +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
72750fdc87 Teach the tools framework about "sleep" which can be provided by the
sysutils/coreutils package.
2005-11-04 20:02:01 +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
222936ee6b MacOS X 10.[34] have /usr/bin/shlock (from <schmonz>). 2005-07-07 21:29:11 +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
36a63b2df7 Darwin may have bzcat. 2005-06-24 20:15:06 +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
df8c47b2f2 Note locations for native diff tools. 2005-06-23 20:45:34 +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
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
8dba6226e7 Consider ${TAR} differently from ${GTAR}. Currently, mark pkgsrc down
as needing both (no impact since they're both satisfied by the tar
binary installed by the bootstrap kit).  There's some funniness in
the extraction code where we check for pax or GNU tar that needs to
be resolved.  Remove the TAR=${GTAR} hack since it's no longer needed
after these changes.

XXX Later, a sweep needs to be made to see where we actually need GTAR
XXX and where we only need TAR, probably triggered by whether we call it
XXX with the "z" option or not.  Packages that need GTAR should explicitly
XXX add USE_TOOLS+=gtar to the package Makefile.
2005-05-14 21:15:07 +00:00
jlam
ef1665c54f Remove conditional expression from tools.*.mk files. Strip handling has
moved to its own file, and we only need to define TOOLS_PLATFORM.strip
if it actually exists on the system.
2005-05-10 19:56:51 +00:00
jlam
91092c5789 Teach the new tools framework about ${STRIP}, which is used in some
packages to strip installed executables.  If INSTALL_UNSTRIPPED ==
"yes", then we create a "strip" wrapper in ${TOOLS_DIR} that just
calls ${TRUE} by considering ${TRUE} the system-supplied strip command.
2005-05-04 06:42:43 +00:00
jlam
dbbc7d55d0 Darwin has /usr/bin/lex and /usr/bin/yacc according to:
http://darwinsource.opendarwin.org/10.3/pbx_jamfiles-237/commands.jam
2005-05-03 21:06:14 +00:00
jlam
3f770348b7 Teach the new tools framework about INSTALL and set the appropriate
default value for each platform.  Currently, the replacement tools
comes from sysutils/coreutils, but where there is no native BSD install
program, bootstrap-pkgsrc should probably be made to provide an install
shell script as an alternative, and mk/tools/bootstrap.mk should be
amended accordingly.

Also remove one use of ${TYPE} in pkgsrc (bsd.pkg.mk) under the new tools
framework.
2005-05-03 20:41:53 +00:00
jlam
8861b6ba02 Teach the new tools framework about MAIL_CMD. We use mail/nail as a
"mail" replacement in case TOOLS_PLATFORM.mail is empty.
2005-05-03 16:30:34 +00:00
jlam
37d5689ed6 Teach the new tools framework about ldconfig. This must be provided by
tools.${OPSYS}.mk, so at the very worst, it must be set to "true".
2005-05-02 04:42:08 +00:00
jlam
f0f9780186 Note the "[" is natively available everywhere (usually as a shell builtin). 2005-04-28 17:30:24 +00:00
jlam
1f5fbfd47d Rename PLATFORM_TOOLS.* to TOOLS_PLATFORM.* to bring the variable names
under the same namespace as the other parts of the new tools framework.
2005-04-27 16:52:28 +00:00
jlam
ad38b77969 Initial stab at creating lists of system-supplied tools for each platform.
These were culled from pkgsrc/mk/${OPSYS}.mk.  These files should only be
listing utilities that aren't installed by pkgsrc.
2005-04-27 15:28:16 +00:00