svn commit: r249484 - head/lib
Gennady Proskurin
gprspb at mail.ru
Mon Apr 15 12:34:11 UTC 2013
Here is the quote from r231336 commit message:
===
commit be984b719cbcb225dc4afaf9f52b38fb882a09d3
Author: kientzle <kientzle at ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Date: Fri Feb 10 05:05:42 2012 +0000
Implement -print-file-name=include (which is undocumented
but used by some Linux boot loaders). This option prints
out the directory holding the include files needed by
a freestanding program. The default implementation of
this doesn't work on FreeBSD because of the different
include file layout. But it's easy to implement:
just return /usr/include (or the cross-compiling equivalent).
===
It turns out, that now we create useless symlink /usr/lib/include just to ease
support of "some Linux boot loaders"?
I do not have full knowledge about the issue, so excuse me if I misunderstood
something.
On Sun, Apr 14, 2013 at 07:13:52PM +0000, Tim Kientzle wrote:
> Author: kientzle
> Date: Sun Apr 14 19:13:51 2013
> New Revision: 249484
> URL: http://svnweb.freebsd.org/changeset/base/249484
>
> Log:
> Install a symlink
> /usr/lib/include ==> /usr/include
>
> This fixes -print-file-name=include in clang (and is
> arguably a better way to fix the same issue in GCC than
> the change I made in r231336).
>
> MFC after: 1 week
>
> Modified:
> head/lib/Makefile
>
> Modified: head/lib/Makefile
> ==============================================================================
> --- head/lib/Makefile Sun Apr 14 18:36:30 2013 (r249483)
> +++ head/lib/Makefile Sun Apr 14 19:13:51 2013 (r249484)
> @@ -252,4 +252,7 @@ _libusbhid= libusbhid
> _libusb= libusb
> .endif
>
> +afterinstall:
> + ln -fs ../include ${DESTDIR}/usr/lib/include
> +
> .include <bsd.subdir.mk>
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
>
More information about the svn-src-all
mailing list