Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2013 19:13:52 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249484 - head/lib
Message-ID:  <201304141913.r3EJDqPI095965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304141913.r3EJDqPI095965>