svn commit: r249484 - head/lib
Tijl Coosemans
tijl at FreeBSD.org
Tue Apr 16 13:41:19 UTC 2013
On 2013-04-14 21:13, 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>
This breaks with -DNO_CLEAN defined, because then
${DESTDIR}/usr/lib/include/include is created.
I'm not that fond of this patch by the way, but I don't fully
understand the problem it's trying to solve so I won't object.
It just looks too much like a hack to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130416/c21252c9/attachment.sig>
More information about the svn-src-all
mailing list