Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 15:02:15 +0000 (UTC)
From:      David Chisnall <theraven@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255206 - in head: etc/mtree lib/libc++
Message-ID:  <201309041502.r84F2Fwb041317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: theraven
Date: Wed Sep  4 15:02:14 2013
New Revision: 255206
URL: http://svnweb.freebsd.org/changeset/base/255206

Log:
  Add a c++/v1/tr1 include directory containing symlinks to all of the standard
  headrs.
  
  Lots of third-party code expects to find C++03 headers under tr1 because that's
  where GNU decided to hide them.  This should fix ports that expect them there.
  
  MFC after:	1 week

Modified:
  head/etc/mtree/BSD.include.dist
  head/lib/libc++/Makefile

Modified: head/etc/mtree/BSD.include.dist
==============================================================================
--- head/etc/mtree/BSD.include.dist	Wed Sep  4 11:52:28 2013	(r255205)
+++ head/etc/mtree/BSD.include.dist	Wed Sep  4 15:02:14 2013	(r255206)
@@ -83,6 +83,8 @@
         v1
             ext
             ..
+            tr1
+            ..
         ..
     ..
     cam

Modified: head/lib/libc++/Makefile
==============================================================================
--- head/lib/libc++/Makefile	Wed Sep  4 11:52:28 2013	(r255205)
+++ head/lib/libc++/Makefile	Wed Sep  4 15:02:14 2013	(r255206)
@@ -165,6 +165,7 @@ RT_HEADERS=	cxxabi.h\
 
 .for hdr in ${STD_HEADERS}
 STD+=		${HDRDIR}/${hdr}
+INCSLINKS+=	${CXXINCLUDEDIR}/${hdr} ${CXXINCLUDEDIR}/tr1/${hdr}
 .endfor
 .for hdr in ${RT_HEADERS}
 STD+=		${LIBCXXRTDIR}/${hdr}



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