obache
b0d0506b76
Add fetch tool.
2010-11-22 12:37:05 +00:00
drochner
3223e91019
use -current's builtin xzcat
2010-11-10 19:59:06 +00:00
adam
8b32714d31
Added TOOLS_PLATFORM.bsdtar
2010-11-09 07:57:16 +00:00
adam
946eda968a
Added soelim
2010-10-28 07:31:29 +00:00
adam
23b72c7b64
No ldconfig on Darwin
2010-10-21 12:21:01 +00:00
tron
53d08ab8ba
Require at least version 3.1.4 of "rpm2pkg".
2010-09-07 17:33:40 +00:00
tron
78eaacdabd
Require at least version 3.1.3 of the "rpm2pkg" package to make sure we
...
support RPM package files which use LZMA compression for the data section.
2010-09-05 16:13:41 +00:00
obache
0226664ef8
Add builtin lzcat and xzcat.
2010-08-25 10:43:34 +00:00
bad
ff39331baa
I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
...
can't be disabled by setting it to "no" like the other variables.
Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no"
is a valid value.
Make PKG_DEVELOPER DWIM.
2010-08-24 19:08:28 +00:00
obache
2e2ce10241
define dummy file command, same as OSF1 and FreeMiNT.
2010-08-21 12:32:25 +00:00
obache
2d684498c2
Catch up to Haiku R1 Alpha2.
2010-06-21 11:17:21 +00:00
wiz
92e0cb52cb
Bump PKGREVISION for libpng shlib name change.
...
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
schwarz
b261c99142
if X11_TYPE is native and certain required tools do not exist nonetheless,
...
fall back to using the pkgsrc version. This is needed for example with imake
on MacOS 10.6 but might potentially apply to other OSes, too.
2010-05-21 22:21:06 +00:00
obache
b857f25651
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
02095e6bdb
- fix TOOLS_PATH for replaced bzip2, bzcat.
2010-04-25 22:01:22 +00:00
obache
52e13e4b29
strip \r in awk script, avoid to extra `tr' exec.
2010-04-10 00:46:23 +00:00
wiz
a0e52fc2f5
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
aa8b6e24a3
Depend on fixed version of xz.
2010-03-21 10:52:29 +00:00
obache
f76f088a99
Adjust chgrp/chown paths for SSD/Linux.
2010-02-13 08:30:59 +00:00
obache
b67a7c218f
Add Haiku support file.
2010-02-06 10:39:59 +00:00
joerg
ecb28485b0
Always look for plain ghostscript and always look in print/ghostscript.
2010-01-20 14:47:30 +00:00
obache
8ab5ae37c6
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
73d9de7129
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
ba5ea2a581
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
4483f32cfe
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
d505491b9c
Clean up path list for ghostscript.
2009-11-21 14:50:28 +00:00
tnn
95c494c7d5
don't assume we have /bin/zcat
2009-10-11 07:36:11 +00:00
joerg
31be0f11d1
Use unzip from base if it exists.
2009-09-04 13:21:19 +00:00
yyamano
60ed06ec73
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
e6640de170
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
b1478ef457
Hide automake-1.11 by default as well.
2009-06-10 15:31:45 +00:00
joerg
debd7a9a0e
_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
b992bae8f6
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
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