Commit graph

20 commits

Author SHA1 Message Date
joerg
f86268b244 Use append for IMAKEOPTS and the real path for exec as IMAKE includes
the options.
2014-12-12 10:50:17 +00:00
joerg
81b3b1d8c7 Indexing starts by 1. 2014-12-12 10:12:50 +00:00
joerg
bf5ee61f9f Use LOCALBASE for finding the wrapper binaries, USE_CROSSBASE messes up
PREFIX.
2014-12-10 23:26:21 +00:00
schmonz
8ceb13fcc0 Remove "CC" from CWRAPPERS_ALIASES.cxx.
Motivation: with "USE_CWRAPPERS=yes" on the default case-insensitive
OS X filesystem, linking the wrappers was failing, stopping the
build. For example:

    ===> Creating toolchain wrappers for mess822-0.58nb3
    ln: .../pkgsrc-current/mail/mess822/work/.cwrapper/bin/cc: File exists
    *** Error code 1

    Stop.

I never noticed this with the old wrappers, but they've also been
failing to link "CC" as an alias to "c++"; it's just that the failure
has been silent and I've never noticed a build failure for lack of
a "CC" wrapper, despite there probably never having been such a
wrapper.

Given that jperkin's SmartOS bulk build with this change produced
results similar to last week's non-cwrappers trunk build, we can
conclude that across platforms, the need for a "CC" wrapper is very
limited and we needn't try (and sometimes fail) to create one by
default.
2014-12-10 14:29:21 +00:00
joerg
1adb9bfbc0 Use full path for CC, CXX and FC. 2014-12-09 12:50:24 +00:00
joerg
02894d322c Provide exec_path for cwrappers-20141129 and require that version. 2014-11-29 22:20:40 +00:00
joerg
b533827bce Temporarily increase compat with old wrappers and add
-I${PREFIX}/include.
2014-11-29 00:53:13 +00:00
joerg
7cc798a257 Export CWRAPPERS_CONFIG_DIR directly for now to deal with Makefiles
calling libtool or cc directly. Leave a note to fix those later.
2014-11-29 00:51:56 +00:00
joerg
ac1e5edf7d Drop trivially redundant transforms. 2014-11-27 23:44:10 +00:00
joerg
4d968f774b cwrappers-20141127: Rename environment variable to CWRAPPERS_CONFIG_DIR
for consistency.
2014-11-27 20:36:43 +00:00
joerg
e5d9eab229 Correct libtool depends on factors like USE_LANGUAGES, so pick up
whatever got choosen elsewhere.
2014-11-27 20:34:55 +00:00
joerg
3df24af04d Consistent indentation. 2014-11-27 20:33:58 +00:00
joerg
40da991aae Support wrappee specific transformations and use it to fix imake. 2014-11-27 20:33:32 +00:00
joerg
be4056d757 Allow appending options on a per-wrappee base. 2014-11-27 20:32:41 +00:00
joerg
63663b9704 Fix variable expansion. 2014-11-27 20:31:56 +00:00
joerg
5b77a6d079 Add clang aliases to the list. Will be conditionalized later. 2014-11-25 18:25:58 +00:00
joerg
9581ce26f5 Whitespace 2014-11-25 18:24:32 +00:00
joerg
69ec520b62 generate-cwrapper -> generate-cwrappers 2014-11-25 18:24:12 +00:00
joerg
bc62c0bfcb Mirror old wrapper code and override _LIBTOOL / _SHLIBTOOL only in the
case of USE_LIBTOOL.
2014-11-25 18:23:49 +00:00
joerg
516b42831c Add cwrappers glue as developed during Google's Summer of Code 2007. 2014-11-24 00:32:31 +00:00