pkgsrc/mk/platform
schwarz 2a675e518a /usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture-
dependent) real gcc binary with the same path as it has been evoked. When
it is called via a symbolic link this fails since the evokation path in that
case is the original one of the symbolic link. For that reason pkgsrc's
buildlink framework must be prevented from using symbolic links to refer to
/usr/bin/gcc.

imac:/tmp schwarz$ ln -s /usr/bin/gcc gcc
imac:/tmp schwarz$ /tmp/gcc
gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin8-gcc-4.0.1': No such file or directory
2009-06-07 11:34:27 +00:00
..
AIX.mk
BSDOS.mk
Darwin.mk /usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture- 2009-06-07 11:34:27 +00:00
DragonFly.mk
FreeBSD.mk
FreeMiNT.mk Initial definitions for FreeMiNT - also needs patches to pkgtools 2009-03-05 00:02:44 +00:00
HPUX.mk revert previous 2009-03-17 17:58:49 +00:00
Interix.mk Remove WRAPPER_DEBUG definition, it doesn't change anything. 2009-06-02 14:51:03 +00:00
IRIX.mk
Linux.mk
NetBSD.mk
OpenBSD.mk
OSF1.mk revert previous 2009-03-17 17:58:49 +00:00
README
SunOS.mk
UnixWare.mk

$NetBSD: README,v 1.1 2007/11/20 17:53:40 rillig Exp $

These files contain platform-specific definitions that are used by the
pkgsrc infrastructure.

TODO: Document all these variables.

=== Implementation notes ===

Do not try to extract the definitions that are common to all files into
another file (maybe common.mk). The code duplication is intentional
here.