summaryrefslogtreecommitdiff
path: root/mk/tools
AgeCommit message (Collapse)AuthorFilesLines
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
2007-06-19Create IDENT variable by default.joerg1-1/+2
2007-06-19Add bzip2 as tool. All platforms that had code to deal with bzcatjoerg8-19/+31
also get bzip2, the rest falls back to archivers/bzip2. OK jlam.
2007-06-19Add ident as tool and use /usr/bin/ident on those platforms I know tojoerg7-7/+26
have it. Fallback to devel/rcs otherwise. Commited during freeze as it is a dependency of pbulk.
2007-06-15Add msgconv to the gettext tools.joerg1-2/+2
2007-06-13gettext-tools was split off with version 0.14.5 of gettext,joerg1-2/+2
so use either a newer version of the former or an older version of the latter.
2007-05-29Test to see if a variable is defined before testing for its value. Keepsdmcmahill1-2/+3
make happy on my older (netbsd-2) NetBSD box.
2007-05-27Define a TOOLS_ENV variable that holds a shell environment that may bejlam1-7/+22
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-27Move the .if test out of the .for loop because the test condition doesn'tjlam1-5/+5
change within the .for loop.
2007-05-25Add xauth as tool.joerg1-2/+13
2007-05-10Recognize argment "-" as $pofile.obache1-2/+2
2007-05-07Change input file lookup behavior to close to gnu msgfmt's implementation.obache1-7/+10
* allow "-" (stdin) * allow other than regurar file (should fix PR 36257). * if doesn't exist, try to append extension ".po" and ".pot".
2007-04-14Teach pkgsrc about HP-UX.tnn1-0/+59
2007-04-13OpenBSD xargs behaves like Linux xargs; add -r here too.hiramatsu1-2/+2
2007-04-11Add tool definitions for native printf, sleep and sed.tnn1-1/+4
2007-03-17Check for /usr/bin/sleep. I have had this in my pkgsrc for a long time.reed1-1/+5
According to the Filesystem Hierarchy Standard for Linux, sleep is not listed as a required command (or symlink) in /bin.
2007-03-15Check for /bin/bzcat. Noticed on Ubuntu Linux over a week ago.reed1-1/+3
(Could check for /bin/bzip2 also, but I didn't need that.)
2007-03-15For all those who are interested in the inner workings of pkgsrc, thererillig1-1/+23
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-05Backed out the latest change because of:rillig2-6/+2
http://mail-index.netbsd.org/pkgsrc-changes/2007/02/28/0009.html