summaryrefslogtreecommitdiff
path: root/mk/tools
AgeCommit message (Collapse)AuthorFilesLines
2008-05-25DragonFly normally has bsdtar in /usr/bin.joerg1-1/+4
2008-05-25Add bsdtar to the tools list.joerg1-1/+12
2008-05-25bootstrap packages has been registered for while now.joerg1-6/+2
2008-05-22Add ftp as tool. On NetBSD and DragonFly, this will use the systemjoerg3-3/+15
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-17Check that /usr/bin/patch really exists, so that we can gracefully falltnn1-1/+3
back to depending on devel/patch.
2008-04-20Reset PKG_CONFIG_PATH in the environment. Fixes misterious build problemsjmmv1-2/+4
of packages when it is already defined by the user.
2008-04-15Require at least version 3.81 of "gmake". It has been in "pkgsrc" fortron1-2/+2
almost two years at some packages (e.g. "openjade") require at least that version anyway.
2008-04-04Detect and use native bzip2(1) tool.tnn1-1/+6
2008-03-11Revert previous, /bin/ksh appears to be even worse than /bin/sh.tnn1-2/+2
(Need to consider installing a sane shell as part of bootstrap.)
2008-03-11Use /bin/ksh instead of /bin/sh on HPUX.tnn1-2/+2
/bin/sh, the "POSIX.2 compliant" shell, is FUBAR: $ echo {a,b} a b
2008-02-29Make chrpath(1) a tool. Intended scope is fixing up some Linux emulationtnn1-1/+12
packages without having to do the LD_LIBRARY_PATH dance.
2008-02-19Look for mktemp in /bin, too, where Debian systems keep it.epg1-1/+3
2008-02-13Don't use the bundled GNU Make on Mac OS X version older than Leopard.tron1-1/+3
Some packages (e.g. "openjade") require GNU Make 3.81 which is not included in older versions of Mac OS X.
2008-02-13Fix a recently introduced logic error. PR pkg/37998 from Stuart Shelton.tnn1-6/+6
2008-02-13Whenever a tool from TOOLS_FAIL is executed, print a useful errorrillig1-2/+4
message. This is much better than failing silently.
2008-02-07Same as previous, but the line above. (Sigh)tnn1-3/+4
2008-02-07Oops, make sure the variable is defined before testing it's value.tnn1-2/+3
2008-02-07Fix busted groff handling on SunOS.tnn1-3/+7
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-01-14remove makedepend hacktnn1-4/+1
2008-01-04Made the .include directives simpler, since the directory of therillig2-20/+20
including file is always the first in the search path.
2007-12-18Doing USE_TOOLS+=cmake in the configure stage is too late so move itmarkd4-12/+30
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-12Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it inmarkd2-2/+14
the configure stage of a build (by setting USE_CMAKE=yes).
2007-11-28Modern versions of Solaris include "/bin/bash".tron1-1/+4
2007-11-26Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".tron1-2/+2
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-22Don't try to use "/usr/bin/perl" as a tool under Darwin.tron1-2/+1
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-19Generalize the condition for defining PERL5, so that PERL5 is neverminskim1-2/+2
overridden if it is defined by individual packages.
2007-11-19Do not define PERL5 as a tool when building devel/perl5, which definesminskim1-1/+3
its own PERL5 in Makefile.
2007-11-16Use native perl as a tool on Darwin.minskim1-1/+2
2007-11-08Allow both gzip and gzip-base to provide gzip.joerg1-10/+10
2007-09-30Outside of .for loops, there is no _t_ variable. Hi joerg.rillig1-10/+10
2007-09-30Fixed indentation.rillig2-19/+19
2007-09-25Fix a comment (gnome-vfs2 -> gnome-vfs).hira1-2/+2
2007-09-10Reverted the last change. Apparently, it was committed without testingrillig1-18/+38
it first.
2007-09-10Why should we write the same code over and over again? We shouldn't.rillig1-38/+18
2007-09-10Added information about imake-specific variables.rillig1-1/+13
2007-08-30Newer AIX has bzip2 and bzcat pre-installed.joerg1-1/+7
2007-08-20Add readelf as tool, for only only the BSDs get it.joerg4-5/+13
2007-08-17Remove infrastructure side of Xorg 6.9 support. Begin to simplifyjoerg1-36/+19
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-16A number of packages implicitly assume that ar runs the right ranlib,joerg1-1/+3
so override it as well for DESTDIR.
2007-08-15Create ranlib override for cross-compilation as libtool doesn'tjoerg1-1/+4
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-13rpm2pkg is actually in ${PREFIX}/sbin.jlam1-2/+2
2007-08-10Give rpm2pkg a standard variable name "RPM2PKG" and teach GNU configurejlam1-1/+3
scripts about "cat".
2007-08-05/usr/bin/file on OSF1 is somewhat broken in that it reports the pathtnn1-2/+2
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-02Add core of the infrastructure support for cross-compilation.joerg1-1/+22
- 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-07-31Teach the extract module to extract RPMs with rpm2pkg.jlam1-1/+12
2007-07-28Also use the shell builtin for [. Add comment for test and [ about that.joerg1-3/+3
2007-07-28Always use the test builtin...joerg1-2/+2
2007-07-18Add makedepend as a platform tool in case of native X11, due to it'stnn1-1/+4
residing outside of X11BASE.
2007-07-02Don't special case mtree as tool.joerg1-2/+2
2007-06-25OpenBSD is "special" as it doesn't have bzip2.joerg1-3/+1