1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/simgear: unbreak with libc++ 8

In file included from simgear/bucket/newbucket.cxx:30:
In file included from /usr/include/c++/v1/cmath:305:
In file included from /usr/include/c++/v1/math.h:309:
In file included from /usr/include/c++/v1/type_traits:406:
In file included from /usr/include/c++/v1/cstddef:38:
version:1:1: error: expected unqualified-id
2018.3.2
^

PR:		236192
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2019-03-04 07:06:48 +00:00
parent af3cf39e99
commit 5ec6287582
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494555

View File

@ -27,4 +27,10 @@ LDFLAGS_powerpc= -losgDB
LDFLAGS_powerpcspe= -losgDB
LDFLAGS_sparc64= -losgDB
post-patch:
# Avoid conflict with C++20 <version> by adding .txt suffix
@${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
@${REINPLACE_CMD} -Ei .c++20 '/file|set_prop/s/version[[:>:]]/&.txt/' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>