joerg
4e5efdff41
Add readelf as tool, for only only the BSDs get it.
2007-08-20 11:00:33 +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
joerg
56b7b61664
A number of packages implicitly assume that ar runs the right ranlib,
...
so override it as well for DESTDIR.
2007-08-16 03:09:38 +00:00
joerg
f3e91441c9
Create ranlib override for cross-compilation as libtool doesn't
...
use the target version.
If we ever want to create archives for the native platform,
NATIVE_RANLIB similiar to NATIVE_CC should be introduced.
2007-08-15 13:24:14 +00:00
jlam
aca2d9fb93
rpm2pkg is actually in ${PREFIX}/sbin.
2007-08-13 02:30:04 +00:00
jlam
605292a86d
Give rpm2pkg a standard variable name "RPM2PKG" and teach GNU configure
...
scripts about "cat".
2007-08-10 03:46:10 +00:00
tnn
b2607abab8
/usr/bin/file on OSF1 is somewhat broken in that it reports the path
...
of the interpreter as the filetype when a file starts with #!
This unfortunately breaks SUBST handling. For now, use a dummy that
claims that every file is a text file.
2007-08-05 12:38:22 +00:00
joerg
005620851f
Add core of the infrastructure support for cross-compilation.
...
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of
the target filesystem
- derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR
- buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR
- compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf)
- PKG_DBDIR is prefixed with _CROSS_DESTDIR
- package-install and bin-install are not called with su
- install and strip are redirected to the tool version
- links for the target specific ar, as, ld, nm, objdump, ranlib and
strip are added
- compiler wrapper detect if linking is requested or not
- special command sinks for CPP and CC/CXX add the cross-compile magic:
- modify include dirs to get the target /usr/include
- modify linker dirs and runpath to use target /usr/lib at link time,
but keep correct rpath entries
Supported-by: Google SoC 2007
Basic tests by he@ on Sparc. Review from jlam@.
2007-08-02 18:19:31 +00:00
jlam
3629e30a61
Teach the extract module to extract RPMs with rpm2pkg.
2007-07-31 17:42:40 +00:00
joerg
d670e0be94
Also use the shell builtin for [. Add comment for test and [ about that.
2007-07-28 01:21:15 +00:00
joerg
6d2a995e3d
Always use the test builtin...
2007-07-28 01:19:07 +00:00
tnn
2861fd6198
Add makedepend as a platform tool in case of native X11, due to it's
...
residing outside of X11BASE.
2007-07-18 09:18:57 +00:00
joerg
7525aa54e2
Don't special case mtree as tool.
2007-07-02 14:56:10 +00:00
joerg
a83b9335ce
OpenBSD is "special" as it doesn't have bzip2.
2007-06-25 10:53:21 +00:00
joerg
0c29048a15
Create IDENT variable by default.
2007-06-19 17:01:31 +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
joerg
e3fe1108f0
Add msgconv to the gettext tools.
2007-06-15 17:11:33 +00:00
joerg
78dc1b95c3
gettext-tools was split off with version 0.14.5 of gettext,
...
so use either a newer version of the former or an older version
of the latter.
2007-06-13 14:21:47 +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
obache
2bce931566
Recognize argment "-" as $pofile.
2007-05-10 15:42:29 +00:00
obache
6615c8e011
Change input file lookup behavior to close to gnu msgfmt's implementation.
...
* allow "-" (stdin)
* allow other than regurar file (should fix PR 36257).
* if doesn't exist, try to append extension ".po" and ".pot".
2007-05-07 09:31:05 +00:00
tnn
146da1286c
Teach pkgsrc about HP-UX.
2007-04-14 14:17:49 +00:00
hiramatsu
4eb0845915
OpenBSD xargs behaves like Linux xargs; add -r here too.
2007-04-13 06:56:20 +00:00
tnn
20595fdc5c
Add tool definitions for native printf, sleep and sed.
2007-04-11 13:12:15 +00:00
reed
86669ee97a
Check for /usr/bin/sleep. I have had this in my pkgsrc for a long time.
...
According to the Filesystem Hierarchy Standard for Linux, sleep
is not listed as a required command (or symlink) in /bin.
2007-03-17 00:14:50 +00:00
reed
5c58e8efc1
Check for /bin/bzcat. Noticed on Ubuntu Linux over a week ago.
...
(Could check for /bin/bzip2 also, but I didn't need that.)
2007-03-15 23:11:12 +00:00
rillig
66bf916302
For all those who are interested in the inner workings of pkgsrc, there
...
is a new target "show-all" that fits to the existing "debug",
"show-tools", "show-vars" targets. It prints a list of the variables
that make up the public interface to pkgsrc. Running this target is
especially useful if you want to do some things, you know that they must
have been implemented but you don't know what it is called. It also
shows the "class" of a variable (user-defined, package-defined,
system-defined).
2007-03-15 22:54:24 +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
wiz
d0afd38d29
Deprecate unused BUILD_USES_GETTEXT_M4 variable.
2007-03-01 22:29:15 +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
87b9fe82ef
Someone decided to remove gtar without discussing this first, so keep
...
track of it here as well.
2007-02-07 19:25:33 +00:00
rpaulo
2146838c44
Some Linux distros have gawk and install in /bin.
2007-01-25 21:34:54 +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
rillig
81f8e0d093
IRIX patch isn't usable.
2007-01-08 08:55:52 +00:00
rillig
ae20e87304
Added patch to the built-in IRIX tools. Without that definition, it is
...
impossible to do any work, since almost all packages have patches and
devel/patch has a broken configure script, which makes the build fail.
2007-01-08 06:54:34 +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
martti
e2610fb8c8
Remove trailing tabs.
2006-12-15 13:15:06 +00:00
martti
2cc4216d5e
Remove trailing spaces.
2006-12-15 12:46:23 +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
wiz
4233abc0c6
Recognize aclocal-1.10 and automake-1.10.
2006-12-05 22:48:31 +00:00
minskim
8890146bed
Use /usr/bin/unzip as unzip on Darwin.
2006-12-02 05:30:35 +00:00