joerg
bf560209d6
cwrappers-20180325: append the append list for -shared support
2018-03-25 20:45:25 +00:00
khorben
5338e497d9
Bump cwrappers after reverting the last patch
2017-11-08 04:04:42 +00:00
joerg
6e1d9540d8
Revert: Tokenize the contents of "append_executable"
...
It's unnecessary and violates the design principles of the
configuration.
2017-11-07 22:26:38 +00:00
khorben
9e7295805a
Bump revision to reflect the fixes for PKGSRC_MKPIE
2017-11-07 16:51:44 +00:00
khorben
32f6f2ea74
Tokenize the contents of "append_executable"
...
This configuration parameter is used when linking executables, through
cc(1) or ld(1) for instance.
This allows passing multiple arguments via the "append_executable"
option, like "-fPIC -pie" for instance.
Committing this before joerg@'s approval since a call for testing
PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-11-07 16:50:52 +00:00
khorben
ee812ef964
Teach the wrapper for ld(1) about more cases
...
Building relocatable and omagic files are now recognized. They were
previously recognized as executables, which may require a different
behaviour in some environments (like when enforcing PIE).
Committing this before joerg@'s approval since a call for testing
PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-11-07 16:49:22 +00:00
khorben
320e058829
Set the correct operation mode in the wrapper for as(1)
...
This notably fixes building lang/g95 with PKGSRC_MKPIE=yes.
Reviewed by joerg@
2017-10-27 20:59:59 +00:00
joerg
48c0962bbd
cwrappers-20170611:
...
Add new configuration options {ap,pre}pend_{shared,executable} for
adding options when the operation mode is identified as linking.
Based loosely on patch from khorben.
2017-06-11 19:34:43 +00:00
joerg
da2debe4f4
cwrappers-20170112: Fix typos. From jperkin.
2017-01-12 14:56:35 +00:00
joerg
2c269c6435
Mark command_child_exec as noreturn. Fix typo.
2016-12-09 22:25:28 +00:00
joerg
04b730106d
Hide regeneration rule for people with messed up timestamps.
2016-12-08 16:58:50 +00:00
joerg
9d6c2d7484
cwrappers-20161125: If spawn.h and posix_spawnp exist, prefer them over
...
vfork and execp.
2016-11-27 11:46:45 +00:00
joerg
62e657277f
PR pkg/50275: Explicitly disable the locking type here. If shlock is not
...
a platform tool, it will introduce cyclic dependencies otherwise, e.g.
via sysutils/checkperms.
2016-11-25 22:46:40 +00:00
joerg
64c13b730d
cwrappers-20160908: Allow cc -o -.
2016-09-15 17:08:14 +00:00
markd
abbfacfa9a
Add support for "-isystem dir", transform in the same way as "-Idir"
2016-03-14 20:16:08 +00:00
bsiegert
598a750813
Fix wrong character count in strncmp. From Kamil Rytarowski in
...
PR pkg/49761.
2016-01-10 19:13:05 +00:00
jperkin
a8002412f4
cwrappers-20150707: handle .dylib extension and Darwin linker flags.
2015-07-07 15:00:25 +00:00
jperkin
242e0aba28
Remove USE_CWRAPPERS setting, now handled by _USE_CWRAPPERS logic.
2015-04-29 14:23:58 +00:00
tnn
66e35611c3
Add note about transform rules for HP-UX and Tru64 linkers.
2015-04-28 13:26:37 +00:00
jperkin
6861e07fe0
Ensure we don't try to rebuild the generated transform-gcc.c, it requires
...
NetBSD-specific build tools.
2015-04-27 09:51:24 +00:00
jperkin
6aa39003c8
Portability fix, use err.h from libnbcompat.
2015-04-19 14:30:07 +00:00
tnn
afb657e78b
Trust libnbcompat to know if we need a getline(3) replacement or not.
...
Avoids us having to encode a list of all such platforms here.
2015-04-19 13:30:35 +00:00
jperkin
9e9b1a8802
cwrappers-20150318: Don't ferror() after fclose().
...
Fixes libtool cwrapper on Linux, ok joerg@
2015-03-18 15:05:35 +00:00
joerg
94ec8eaf36
-mt should be discarded, not ignored.
2015-03-18 15:01:21 +00:00
joerg
57935dc377
Drop properly drop -mt and generate.
2015-03-18 14:54:53 +00:00
jperkin
3132d89bb7
cwrappers-20150317: Discard obsolete GCC '-mt' argument.
2015-03-17 18:39:45 +00:00
joerg
a315e88103
cwrappers-20150314: Drop trailing / when searching for path names.
...
If a pattern ends in a slash, consider it as exact match.
2015-03-15 19:16:45 +00:00
jperkin
b50c0e182e
Need unistd.h on OS X 10.6 for ssize_t.
2015-02-13 22:18:38 +00:00
wiz
627d407a75
Remove pkg_views support, second part: infrastructure.
2014-12-30 15:13:19 +00:00
riz
544c9dedb0
Initialize a variable that GCC complains about being used possibly
...
uninitialized.
2014-12-06 22:35:24 +00:00
joerg
ed0b2af687
cwrappers-20141129:
...
- Export path to the wrapper via config file and use that to replace the
libtool call in the relink command.
- Do not drop rpath entries when processing the relink command, they are
still needed.
2014-11-29 22:19:55 +00:00
joerg
4d968f774b
cwrappers-20141127: Rename environment variable to CWRAPPERS_CONFIG_DIR
...
for consistency.
2014-11-27 20:36:43 +00:00
joerg
5d30b81ed6
Disable CHECK_PERM & USE_CWRAPPERS here.
2014-11-24 00:31:03 +00:00
joerg
2c9c53240b
FreeBSD decided that getline must be explicitly requested.
2014-10-06 15:38:57 +00:00
joerg
e6b0c7d9be
OSX 9 lacks getline, so add it to the list. Use custom version of
...
le32toh.
2014-10-06 14:57:53 +00:00
joerg
f25da8dd04
Explicitly set target directory. Provide RCS ID.
2014-09-18 19:31:47 +00:00
schmonz
3618c2e28c
Fix spelling.
2014-09-17 12:54:58 +00:00
joerg
8ee704def0
Add cwrappers-20100308 with minimal compat changes. Developed as part of
...
GSoC 2007, initial test suite parts from schmonz@, nagging by jperkin,
approval for addition during freeze by agc@.
2014-09-17 12:40:56 +00:00