diff options
author | theraven <theraven@FreeBSD.org> | 2013-09-04 15:02:14 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-09-04 15:02:14 +0000 |
commit | 8b9f5e4153f464a09e85934bf33883277727a66c (patch) | |
tree | e03fcf559b8a32d8612db20448f975cc79505bb8 | |
parent | 00a02e74da5ce54cb9325f0270ca4a3d24ea36d3 (diff) | |
download | FreeBSD-src-8b9f5e4153f464a09e85934bf33883277727a66c.zip FreeBSD-src-8b9f5e4153f464a09e85934bf33883277727a66c.tar.gz |
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
-rw-r--r-- | etc/mtree/BSD.include.dist | 2 | ||||
-rw-r--r-- | lib/libc++/Makefile | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist index e295348..dbfbfc9 100644 --- a/etc/mtree/BSD.include.dist +++ b/etc/mtree/BSD.include.dist @@ -83,6 +83,8 @@ v1 ext .. + tr1 + .. .. .. cam diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index d540ca2..567144a 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -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} |