--- - branch: MAIN date: Sun Jun 7 11:34:27 UTC 2009 files: - new: '1.38' old: '1.37' path: pkgsrc/mk/platform/Darwin.mk pathrev: pkgsrc/mk/platform/Darwin.mk@1.38 type: modified id: 20090607T113427Z.aff7613f4bf7320dde6fa84519e7e031d44586be log: | /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 module: pkgsrc subject: 'CVS commit: pkgsrc/mk/platform' unixtime: '1244374467' user: schwarz