summaryrefslogtreecommitdiff
path: root/mk/cwrappers.mk
AgeCommit message (Collapse)AuthorFilesLines
2015-03-17Add a 'gfortran' alias so that GCC fortran goes via the wrappers.jperkin1-2/+2
2015-03-15PR 49686: Drop -I and -L options references the built-in searchjoerg1-2/+2
directories of the compiler/linker when using cwrappers. Command line flags will often put them before the corresponding flags for PREFIX/include and PREFIX/lib, so the version from outside .buildlink would be prefered. The other way around is much less likely to be a problem and normally the expected case. Bump required cwrappers version for the necessary exact-match feature.
2014-12-12Use append for IMAKEOPTS and the real path for exec as IMAKE includesjoerg1-2/+3
the options.
2014-12-12Indexing starts by 1.joerg1-2/+2
2014-12-10Use LOCALBASE for finding the wrapper binaries, USE_CROSSBASE messes upjoerg1-2/+3
PREFIX.
2014-12-10Remove "CC" from CWRAPPERS_ALIASES.cxx.schmonz1-2/+2
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-09Use full path for CC, CXX and FC.joerg1-5/+5
2014-11-29Provide exec_path for cwrappers-20141129 and require that version.joerg1-2/+3
2014-11-29Temporarily increase compat with old wrappers and addjoerg1-1/+6
-I${PREFIX}/include.
2014-11-29Export CWRAPPERS_CONFIG_DIR directly for now to deal with Makefilesjoerg1-1/+4
calling libtool or cc directly. Leave a note to fix those later.
2014-11-27Drop trivially redundant transforms.joerg1-2/+2
2014-11-27cwrappers-20141127: Rename environment variable to CWRAPPERS_CONFIG_DIRjoerg1-5/+5
for consistency.
2014-11-27Correct libtool depends on factors like USE_LANGUAGES, so pick upjoerg1-3/+3
whatever got choosen elsewhere.
2014-11-27Consistent indentation.joerg1-7/+7
2014-11-27Support wrappee specific transformations and use it to fix imake.joerg1-2/+6
2014-11-27Allow appending options on a per-wrappee base.joerg1-1/+4
2014-11-27Fix variable expansion.joerg1-2/+2
2014-11-25Add clang aliases to the list. Will be conditionalized later.joerg1-4/+4
2014-11-25Whitespacejoerg1-2/+2
2014-11-25generate-cwrapper -> generate-cwrappersjoerg1-4/+4
2014-11-25Mirror old wrapper code and override _LIBTOOL / _SHLIBTOOL only in thejoerg1-1/+3
case of USE_LIBTOOL.
2014-11-24Add cwrappers glue as developed during Google's Summer of Code 2007.joerg1-0/+71