Commit graph

221 commits

Author SHA1 Message Date
minskim
94052c23d5 Add xzcat as a tool and update lzcat's TOOLS_DEPENDS to avoid conflicts.
archivers/xz provides both lzcat and xzcat.
2009-07-08 12:51:16 +00:00
joerg
8c7d96e5f3 _PATCH_BACKUP_ARG must match the selected patch, so override potential
platform value when using the version from pkgsrc.
2009-04-22 14:13:52 +00:00
joerg
c72fa77cbd Use nbpatch, not gpatch, when the platform is missing it.
The former is known to have less issues like being able to deal with
asymmetric context and no line limits.
2009-04-21 21:26:13 +00:00
joerg
648c6c6e64 Don't skip the pax dependency. It has been registered as part of the
bootstrap for a long time. As it is no longer a bootstrap part, the
dependency is required.
2009-02-05 18:44:43 +00:00
dsl
5f2fc5dcbf Use a temporary variable to hold ${_dep_:C/\:.*$//} since it is used
as a modifier on another variable and would need to be escaped
as :M${_dep_\:C/\\\:.*$//} in order for the modifiers to be parsed correctly.
This all used to work because _dep_ is a .for loop control variable which
was substituted in an earlier pass through the line.
Recent changes leave .for loop control variables to be substituted during
normal expansion.
Adding the \ would leave the script non-working with theolder make.

OK'd by Beefy
2008-12-23 22:34:26 +00:00
rillig
f38678623c There is no mail/nail anymore. 2008-12-15 12:53:28 +00:00
minskim
492b7040ee Add lzcat to the tools framework.
lzcat will be used to decompress .lzma files.
2008-11-15 20:20:44 +00:00
joerg
fc88d994e9 Allow use of fetch as tool. 2008-10-08 15:38:46 +00:00
joerg
695e87e307 Add bsdtar to the tools list. 2008-05-25 16:55:32 +00:00
joerg
ca3497fe64 bootstrap packages has been registered for while now. 2008-05-25 16:27:05 +00:00
joerg
4a202fc0c8 Add ftp as tool. On NetBSD and DragonFly, this will use the system
version of tnftp, otherwise it will use net/tnftp. Require ftp as
bootstrap dependency when the package has files to fetch.

The dependency is currently unconditional and FETCH_CMD is set to
TOOLS_PATH.ftp by default.
2008-05-22 20:11:55 +00:00
tron
fcc24b7e09 Require at least version 3.81 of "gmake". It has been in "pkgsrc" for
almost two years at some packages (e.g. "openjade") require at least
that version anyway.
2008-04-15 13:00:11 +00:00
tnn
24f697ae48 Make chrpath(1) a tool. Intended scope is fixing up some Linux emulation
packages without having to do the LD_LIBRARY_PATH dance.
2008-02-29 00:23:09 +00:00
tnn
4636e6feaf Fix a recently introduced logic error. PR pkg/37998 from Stuart Shelton. 2008-02-13 18:33:39 +00:00
tnn
45f396330c Same as previous, but the line above. (Sigh) 2008-02-07 17:01:02 +00:00
tnn
9a5fda0288 Oops, make sure the variable is defined before testing it's value. 2008-02-07 16:53:14 +00:00
tnn
677ba266b7 Fix busted groff handling on SunOS.
Also, change the logic so that the construct:
USE_TOOLS+=     groff nroff
means:
"iff groff is to be provided by textproc/groff, then nroff is
also to be provided by textproc/groff".
This provides a sane mechanism to express need for GNU nroff.
This is part one of fixing packages that set USE_BSD_MAKEFILE=yes
on SunOS. (bsd.man.mk needs an nroff that understands -mandoc)
2008-02-07 12:10:36 +00:00
rillig
d3624fdf10 Made the .include directives simpler, since the directory of the
including file is always the first in the search path.
2008-01-04 01:46:24 +00:00
markd
4767fe7dc4 Doing USE_TOOLS+=cmake in the configure stage is too late so move it
to tools.  Also cmake wants cpack to exist in the same directory so
toolise it and make cmake and cpack imply each other.
2007-12-18 10:18:39 +00:00
markd
ec09af76f0 Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it in
the configure stage of a build (by setting USE_CMAKE=yes).
2007-12-12 01:00:38 +00:00
joerg
952c9705db Allow both gzip and gzip-base to provide gzip. 2007-11-08 19:31:40 +00:00
rillig
b8d6f5ddcb Outside of .for loops, there is no _t_ variable. Hi joerg. 2007-09-30 12:22:44 +00:00
rillig
ad95b81717 Fixed indentation. 2007-09-30 12:19:11 +00:00
rillig
6780484224 Reverted the last change. Apparently, it was committed without testing
it first.
2007-09-10 07:25:14 +00:00
rillig
ce0b07c80b Why should we write the same code over and over again? We shouldn't. 2007-09-10 07:00:37 +00:00
joerg
e09f68cb6b Remove infrastructure side of Xorg 6.9 support. Begin to simplify
some of the cases of X11_TYPE usage -- it will stay with modular|native,
so don't bother with keeping the separation in the tool list.
2007-08-17 20:27:30 +00:00
jlam
aca2d9fb93 rpm2pkg is actually in ${PREFIX}/sbin. 2007-08-13 02:30:04 +00:00
jlam
3629e30a61 Teach the extract module to extract RPMs with rpm2pkg. 2007-07-31 17:42:40 +00:00
joerg
7525aa54e2 Don't special case mtree as tool. 2007-07-02 14:56:10 +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
dmcmahill
98fa60beec Test to see if a variable is defined before testing for its value. Keeps
make happy on my older (netbsd-2) NetBSD box.
2007-05-29 03:00:44 +00:00
jlam
5c4627887a Define a TOOLS_ENV variable that holds a shell environment that may be
passed to the configure or build phases.  This variable holds a slightly
different value depending on whether GNU_CONFIGURE is defined or not --
in the former case, the value is tuned for passing the GNU configure
script.

Automatically pass TOOLS_ENV to GNU configure scripts, so there is no
user-visible change.
2007-05-27 02:11:13 +00:00
jlam
510984a0d6 Move the .if test out of the .for loop because the test condition doesn't
change within the .for loop.
2007-05-27 01:44:42 +00:00
joerg
31f7ba18c8 Add xauth as tool. 2007-05-25 15:12:52 +00:00
rillig
bbd9ed673a Backed out the latest change because of:
http://mail-index.netbsd.org/pkgsrc-changes/2007/02/28/0009.html
2007-03-05 23:35:59 +00:00
rillig
8d8d67c7de Too many packages fail in mysterious ways when they cannot find
pkg-config, which happens mostly after updating a package. Therefore, a
failing wrapper is installed for this tool.
2007-02-23 02:49:56 +00:00
joerg
68042f366f Add xinit as tool. 2007-01-22 20:43:04 +00:00
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