Commit graph

473 commits

Author SHA1 Message Date
obache
9c22951675 Remove force to use symbolic link.
It is not a good idea to hide real issues.
If someone is really using hard link, it should be failed.
2010-05-03 07:02:24 +00:00
seanb
695e7040d4 - fix TOOLS_PATH for replaced bzip2, bzcat. 2010-04-25 22:01:22 +00:00
obache
cb0f0812a6 strip \r in awk script, avoid to extra `tr' exec. 2010-04-10 00:46:23 +00:00
wiz
6f759299aa Use patch from obache that strips out DOS line endings.
Needed at least for graphics/gimp.
2010-04-09 15:44:17 +00:00
wiz
cddc694dbb Depend on fixed version of xz. 2010-03-21 10:52:29 +00:00
obache
3cac2ab156 Adjust chgrp/chown paths for SSD/Linux. 2010-02-13 08:30:59 +00:00
obache
37095ae4b4 Add Haiku support file. 2010-02-06 10:39:59 +00:00
joerg
d0c732cce8 Always look for plain ghostscript and always look in print/ghostscript. 2010-01-20 14:47:30 +00:00
obache
2d7e9ef220 Add support of SSD/Linux.
* ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools
2010-01-16 02:16:35 +00:00
obache
307370294a SUA 6.0 have patch command sufficent to use with pkgsrc.
Workaround of PR#42379, broken nbpatch package on SUA 6.1.
2009-12-19 11:56:11 +00:00
obache
c0c7aa72b8 Update tool paths and arguments for SUA 6.0
XXX: If someone have SUA 5.2 and confirmed that it have same tools for SUA 6.0,
XXX: please replace Interix-[0-5].*-* with Interix-[0-3].*-*.
2009-12-13 08:30:01 +00:00
dholland
65e41384ee Linux's rpcgen has the location of cpp compiled in. Make it use the
pkgsrc wrapper by adding -Y ${WRAPPER_BINDIR:Q} when OPSYS is Linux.

This will fix obscure/subtle build problems caused by bypassing the
wrappers; it will also fix pkgsrc builds on improperly configured
Linux distros (such as in PR pkg/41359) whose rpcgen has the wrong
location for cpp compiled into it.

While there are at least two main branches of rpcgen floating around
the Linux world, both of them support '-Y cpp-path'.
2009-12-07 02:36:51 +00:00
joerg
b52e695a15 Clean up path list for ghostscript. 2009-11-21 14:50:28 +00:00
tnn
32d0f16850 don't assume we have /bin/zcat 2009-10-11 07:36:11 +00:00
joerg
a2ba93cce5 Use unzip from base if it exists. 2009-09-04 13:21:19 +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
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