<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/mk/wrapper/arg-source, branch pkgsrc-2015Q2</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc-2015Q2</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc-2015Q2'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2007-09-19T13:08:19Z</updated>
<entry>
<title>Fixed incorrect quoting of arguments. This behavior had been unnoticed</title>
<updated>2007-09-19T13:08:19Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-09-19T13:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=4334ec644af6b3931d041143e7fbb7957b192202'/>
<id>urn:sha1:4334ec644af6b3931d041143e7fbb7957b192202</id>
<content type='text'>
for several years now, since the directories in the -I... and -L...
options usually don't need quoting. But when the -D... option was
processed using the same code, the bug had become visible.</content>
</entry>
<entry>
<title>Merge -D and the following word, so -D UNIX -D WHATEVER doesn't get</title>
<updated>2007-09-11T08:33:11Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-09-11T08:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=f4afca78cce44ee00978d551d1eedaefe3149222'/>
<id>urn:sha1:f4afca78cce44ee00978d551d1eedaefe3149222</id>
<content type='text'>
transformed to -D UNIX WHATEVER (because the wrapper eliminates
duplicate arguments). Now it becomes -DUNIX -DWHATEVER. This fixes a
build problem reported in
http://mail-index.netbsd.org/pkgsrc-users/2007/09/10/0004.html.</content>
</entry>
<entry>
<title>Add core of the infrastructure support for cross-compilation.</title>
<updated>2007-08-02T18:19:31Z</updated>
<author>
<name>joerg</name>
<email>joerg@pkgsrc.org</email>
</author>
<published>2007-08-02T18:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=005620851f14ccfbf69fb7ccaffc6f6e6d0f968a'/>
<id>urn:sha1:005620851f14ccfbf69fb7ccaffc6f6e6d0f968a</id>
<content type='text'>
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of
  the target filesystem
- derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR
- buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR
- compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf)
- PKG_DBDIR is prefixed with _CROSS_DESTDIR
- package-install and bin-install are not called with su
- install and strip are redirected to the tool version
- links for the target specific ar, as, ld, nm, objdump, ranlib and
  strip are added
- compiler wrapper detect if linking is requested or not
- special command sinks for CPP and CC/CXX add the cross-compile magic:
  - modify include dirs to get the target /usr/include
  - modify linker dirs and runpath to use target /usr/lib at link time,
    but keep correct rpath entries

Supported-by: Google SoC 2007
Basic tests by he@ on Sparc. Review from jlam@.</content>
</entry>
<entry>
<title>The compiler option -Wl,foo,bar,baz is split into -Wl,foo -Wl,bar</title>
<updated>2007-02-23T00:31:29Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-02-23T00:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=215797f36f7da9227585f4831f44c3c085d7a396'/>
<id>urn:sha1:215797f36f7da9227585f4831f44c3c085d7a396</id>
<content type='text'>
-Wl,baz before processing the resulting options again.

Fixes PR 32203.</content>
</entry>
<entry>
<title>Changed the failure into a warning when options such as "-I -L" appear</title>
<updated>2007-02-21T12:27:36Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-02-21T12:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=4d2476efa1fc3f95832a74eafd465dab0f6dbd58'/>
<id>urn:sha1:4d2476efa1fc3f95832a74eafd465dab0f6dbd58</id>
<content type='text'>
next to each other.</content>
</entry>
<entry>
<title>The options -I, -L and -R must not be followed directly by another</title>
<updated>2007-02-21T09:43:26Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-02-21T09:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=a0dd1a37e7388211625dfc572d48b18705b026e7'/>
<id>urn:sha1:a0dd1a37e7388211625dfc572d48b18705b026e7</id>
<content type='text'>
option. Instead of just merging them, the wrapper fails. Let's see which
packages get broken by that and then fix them.

I've also heard rumours that a plain -L is used as an alias to -nostdlib
in some compilers. This would have been handled wrong up to now, since
it definitely wasn't intended to be merged with the following argument.</content>
</entry>
<entry>
<title>Remove trailing spaces.</title>
<updated>2006-12-15T12:46:23Z</updated>
<author>
<name>martti</name>
<email>martti@pkgsrc.org</email>
</author>
<published>2006-12-15T12:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=2cc4216d5ef78d515d76bf66b7f8a7bfde835f05'/>
<id>urn:sha1:2cc4216d5ef78d515d76bf66b7f8a7bfde835f05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When $debug_log is set to ":" and at the same time $IFS is ":", the</title>
<updated>2006-09-17T22:52:45Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2006-09-17T22:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=a9df3d8786519e472ddeff168bfa4ad6d36623f1'/>
<id>urn:sha1:a9df3d8786519e472ddeff168bfa4ad6d36623f1</id>
<content type='text'>
command line

    $debug_log $arguments

tries to execute the empty command. This results in error messages of
the form

    cc[50]: : cannot execute   (IRIX)
    bash: : command not found  (Bash)
    : permission denied        (NetBSD /bin/sh)

Setting IFS to the original value as soon as possible fixes these bugs.

Fixes PR 34135.</content>
</entry>
<entry>
<title>Forgot the strip the comma when removing "-Wl," from the the next</title>
<updated>2005-06-09T17:06:21Z</updated>
<author>
<name>jlam</name>
<email>jlam@pkgsrc.org</email>
</author>
<published>2005-06-09T17:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=fe40930572f64aa538a8fcee3a48dc27212e0b85'/>
<id>urn:sha1:fe40930572f64aa538a8fcee3a48dc27212e0b85</id>
<content type='text'>
argument during argument merging.</content>
</entry>
<entry>
<title>Properly turn:</title>
<updated>2005-06-08T05:54:17Z</updated>
<author>
<name>jlam</name>
<email>jlam@pkgsrc.org</email>
</author>
<published>2005-06-08T05:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=532553f6534ee4461ba6b7c1ab35af3aba0276ad'/>
<id>urn:sha1:532553f6534ee4461ba6b7c1ab35af3aba0276ad</id>
<content type='text'>
	-Wl,-rpath -Wl,/dir1:/dir2:/dir3
into:
	-Wl,-rpath,/dir1 -Wl,-rpath,/dir2 -Wl,-rpath,/dir3

Do the same for -Wl,-R and -Wl,-rpath-link.  This makes the wrapper
scripts pass the test in regress/buildlink-transform/rpath-merge.mk
and fixes PR pkg/27702.</content>
</entry>
</feed>
