Commit graph

457 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
wiz
b3470e0564 Hide automake-1.11 by default as well. 2009-06-10 15:31:45 +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
8c10375337 Remove tool definition for native pax as it is not fully compatible with
the expected pax use and has some bad behavior making it undesirable to
work around. Discussed with hasso@ and on tech-pkg.
2009-04-01 12:07:08 +00:00
joerg
0a5067d86c Pass some additional options down as used by the scmgit-base build.
Tested by full bulk build, ok wiz@
2009-03-27 14:44:36 +00:00
joerg
89be553c64 Fix copy&paste error resulting in duplicate .endif. 2009-03-22 18:10:27 +00:00
joerg
91ae4afc96 Rename MSGFMT_STRIP_MSGCTX to MSGFMT_STRIP_MSGCTXT to reflect what is
stripped. Allow the script to be used for pkgsrc msgfmt as well. Set
MSGFMT_STRIP_MSGCTXT automatically for msgfmt before 0.15.
2009-03-22 17:57:58 +00:00
joerg
39ad89fe70 MSGFMT_STRIP_* applies to both the native and the pkgsrc version, so
move the conditional block into the shared path.
2009-03-20 20:17:30 +00:00
joerg
5f72a77f4a Refactor msgfmt.sh script to conditionally strip the msgid_plural for
old NetBSD versions and to strip msgctx if requested by the package.
This allows to replace the use of msgfmtstrip in various packages by
setting MSGFMT_STRIP_MSGCTX.
2009-03-20 16:13:02 +00:00
rillig
b1bf3ebab8 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
abs
5f554c32aa Initial definitions for FreeMiNT - also needs patches to pkgtools 2009-03-05 00:02:44 +00:00
joerg
7b786c8fbd Drop tools/bootstrap.mk. It was mostly reundant as the bootstrap
components are correctly registered as dependencies. Move the remaining
two exceptions into the corresponding platform files.

XXX Both the strip and mkdir-sh are currently not registered
2009-02-05 19:03:29 +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
joerg
95f48dd452 Use system tbl if it exists. From Jens Rehsack. 2009-02-02 11:14:11 +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
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
wiz
87f53ba39d Bump intltools dependency default to 0.40.0, more and more programs need it.
That version has been in pkgsrc for nearly 6 months now, it is in the last
two branches.
2008-12-05 08:25:15 +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
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
dbj
a0fe06f193 set TOOLS_PLATFORM.ftp to /usr/bin/ftp 2008-07-21 17:34:19 +00:00
joerg
826dbe24c4 DragonFly normally has bsdtar in /usr/bin. 2008-05-25 21:40:59 +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
tnn
a62afabe14 Check that /usr/bin/patch really exists, so that we can gracefully fall
back to depending on devel/patch.
2008-05-17 18:34:50 +00:00
jmmv
771c8ca8de Reset PKG_CONFIG_PATH in the environment. Fixes misterious build problems
of packages when it is already defined by the user.
2008-04-20 19:32:31 +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
b8203e8cef Detect and use native bzip2(1) tool. 2008-04-04 15:49:18 +00:00
tnn
a8cb923909 Revert previous, /bin/ksh appears to be even worse than /bin/sh.
(Need to consider installing a sane shell as part of bootstrap.)
2008-03-11 17:50:14 +00:00
tnn
672f077f7a Use /bin/ksh instead of /bin/sh on HPUX.
/bin/sh, the "POSIX.2 compliant" shell, is FUBAR:
$ echo {a,b}
a b
2008-03-11 17:01:07 +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
epg
b9daf18e55 Look for mktemp in /bin, too, where Debian systems keep it. 2008-02-19 03:03:08 +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
tnn
4636e6feaf Fix a recently introduced logic error. PR pkg/37998 from Stuart Shelton. 2008-02-13 18:33:39 +00:00
rillig
a10d392b19 Whenever a tool from TOOLS_FAIL is executed, print a useful error
message. This is much better than failing silently.
2008-02-13 09:11:01 +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
tnn
51ea1914a1 remove makedepend hack 2008-01-14 08:03:47 +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
tron
c0a2ce4a12 Modern versions of Solaris include "/bin/bash". 2007-11-28 07:45:50 +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