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
minskim
3a7155e12a
Generalize the condition for defining PERL5, so that PERL5 is never
...
overridden if it is defined by individual packages.
2007-11-19 04:08:58 +00:00
minskim
4d09ed8f21
Do not define PERL5 as a tool when building devel/perl5, which defines
...
its own PERL5 in Makefile.
2007-11-19 00:40:14 +00:00
minskim
9826939622
Use native perl as a tool on Darwin.
2007-11-16 05:51:37 +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
hira
a67f295a78
Fix a comment (gnome-vfs2 -> gnome-vfs).
2007-09-25 10:32:17 +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
rillig
5b5f343c3c
Added information about imake-specific variables.
2007-09-10 06:36:25 +00:00
joerg
ca11c32744
Newer AIX has bzip2 and bzcat pre-installed.
2007-08-30 21:29:21 +00:00
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