Commit graph

50 commits

Author SHA1 Message Date
jperkin
11d02981ed Stop using the native texi2html on SunOS. It's not fully compatible
with what packages such as multimedia/ffmpeg2 expect, and as so few
packages have texi2html in USE_TOOLS it may be causing more problems
that it is worth to save a few dependencies.  PR#51113.
2016-05-10 08:54:49 +00:00
richard
4ae0f0183f define TOOLS_PLATFORM.ld in tools.SunOS.mk 2015-09-25 01:57:56 +00:00
jperkin
0b50d6bf86 Don't use the platform /usr/bin/pkg-config. As per PR#49982 it causes
problems that are fixed by using the pkgsrc version, and no platform
other than Cygwin tries to use a native version.

Consensus is that due to the limited impact and clear benefit this is
ok to go in during the freeze despite being an infrastructure change.
2015-06-19 15:22:44 +00:00
obache
c403435b4e revert "Add unlink as a tool.", I cannot describe why is it on the Earth.
proposed/discussed is required for such changes, from PMC gdt@.
2015-02-01 08:48:56 +00:00
obache
0d7d34e0e8 Add unlink as a tool. 2015-01-30 11:06:36 +00:00
richard
e1f92cc066 homogenise fgrep to be grep -F 2014-05-06 15:42:46 +00:00
uebayasi
2e61c603ea Provide uniq(1) as a TOOLS. 2014-03-06 07:34:20 +00:00
jperkin
5fb787362d Revert back to avoiding the native SunOS pax by default.
Whilst it works for the most part, the mk/extract/extract script expects
an -O flag which it does not support, and adding conditionals to that
script would be messy.

Fixes 5 direct packages.
2013-07-03 12:31:33 +00:00
jperkin
ccd81d8850 Don't use GNU tar as bsdtar, it isn't fully compatible and fails with
the OpenJDK distfiles.
2013-02-12 15:08:48 +00:00
jperkin
a5307e4d55 Make curl a tool. Add support for /usr/bin/curl, if available, on Solaris.
SmartOS and OmniOS users can now set FETCH_USING=curl and no longer require
pkgsrc dependencies for downloading distfiles.
2012-07-27 10:48:36 +00:00
jperkin
a5d411fa58 Support strip in /usr/bin/strip, as per SmartOS. 2012-06-25 22:05:17 +00:00
jperkin
dcc44bc21e Use native ksh93 on Solaris 11 and derivatives. 2012-06-15 09:54:41 +00:00
jperkin
385abe35b6 Add native pax. 2012-05-21 15:19:13 +00:00
hans
9ecb5ed442 Use native zip etc. if available. 2012-01-14 02:11:00 +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
hans
1b663097e9 In SunOS 5.10 and earlier, some tools only exist in /usr/sfw/bin. 2011-10-04 13:08:42 +00:00
hans
3e371ab55b Re-enable pkg-config on SunOS 5.11. 2011-10-04 13:07:21 +00:00
hans
240d4900a4 Disable using perl and pkg-config as host tools for the upcoming branch.
Will be properly fixed and reenabled after the freeze ends.
2011-09-29 14:09:11 +00:00
hans
e419fd7957 Use more host tools on SunOS. Default to GNU tools when available. 2011-09-14 15:14:53 +00:00
hans
3e15011f66 Fix soelim tool definition for SunOS. 2011-07-15 15:33:15 +00:00
adrianp
37c62b92f5 If "/usr/gnu/bin/false" exists use that as a value of ${FALSE}. This is known
to exist at least on OpenSolaris.  This makes the useradd scripts work
under OpenSolaris as it won't accept "false" as a ${SHELL}.
2008-09-11 23:00:31 +00:00
ahoka
ab988ad219 Prefer builtin echo, test/[, true/false.
State that we use pdksh on these platforms.
2008-08-10 15:17:25 +00:00
ahoka
032b180d23 UCB binaries were removed from OpenSolaris, so let's use builtin echo
as we use pdksh on this platform.
Also use /usr/bin/ginstall when it's present (it is on OpenSolaris)
for the same reason.

This problem was reported by Andras Barna.
2008-08-09 15:14:01 +00:00
tron
c0a2ce4a12 Modern versions of Solaris include "/bin/bash". 2007-11-28 07:45:50 +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
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
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
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
dmcmahill
700971659f revert to /usr/bin/tr per an email from Grant. Seems /usr/xpg4/bin/tr
has enough problems of its own.
2005-08-30 00:32:46 +00:00
dmcmahill
410296adc6 use /usr/xpg4/bin/tr instead of /usr/bin/tr 2005-08-23 12:52:59 +00:00
grant
1420457a5e Solaris may have tbl(1) from the SUNWdoc package. avoids unnecessary
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-31 05:24:52 +00:00
jlam
73e8531006 Teach the tools framework about csh, and replace with tcsh if necessary. 2005-06-24 20:59:59 +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
rillig
1eddab530b Fixed a typo when looking for /usr/bin/cmp. 2005-05-14 10:14:29 +00:00
rillig
fb358b0e89 Fixed two obvious typos that leaded to syntax errors. 2005-05-14 01:04:37 +00:00
jlam
fb1593ba8b Split out ldconfig handling from the USE_TOOLS processing in replace.mk.
This makes more sense since there is never going to be a pkgsrc
replacement for ldconfig.  We now always create an ldconfig tool in
${TOOLS_DIR} that either calls the system-supplied one if it exists,
or is a no-op.
2005-05-10 20:14:27 +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
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
96c5deea72 Teach the new tools framework about USE_TOOLS+=bzcat. 2005-05-02 02:50:33 +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
e75fadb138 /usr/xpg4/bin/sed is actually not good enough for pkgsrc, so don't list
it as a system-supplied sed.
2005-04-27 15:58:18 +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