Subject: CVS commit: pkgsrc/lang/clang
From: John Marino
Date: 2012-11-22 23:45:15
Message id: 20121122224515.77056175DD@cvs.netbsd.org

Log Message:
lang/clang: Fix binary generation on latest DragonFly

Clang was hardwired to search for crt* stuff and libstdc++ at
/usr/lib/gcc41.  This worked for most people even when DragonFly
moved to gcc 4.4 as the primary base compiler since gcc 4.1 was
usually also on the system.

With the release of DragonFly 3.2, gcc 4.7 replaced gcc 4.1 and
clang stopped compiling due to not being able to find libraries and
crt* objects.  The new patches make clang driver first look for
gcc 4.7 and failing to find that: gcc 4.4.

The other patches were "de-fuzzed".
Revision bump was necessary because clang did build, it just didn't
work.

Patches submitted upstream:
http://llvm.org/bugs/show_bug.cgi?id=14417

Files:
RevisionActionfile
1.16modifypkgsrc/lang/clang/Makefile
1.12modifypkgsrc/lang/clang/distinfo
1.5modifypkgsrc/lang/clang/patches/patch-ac
1.4modifypkgsrc/lang/clang/patches/patch-ad
1.1addpkgsrc/lang/clang/patches/patch-tools_clang_lib_Driver_ToolChains.cpp
1.1addpkgsrc/lang/clang/patches/patch-tools_clang_lib_Driver_Tools.cpp