1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/gap: unbreak with libc++ 8

In file included from src/bistellar_move.cpp:9:
In file included from src/bistellar_move.h:12:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
In file included from /usr/include/c++/v1/cstddef:38:
./version:1:1: error: expected unqualified-id
2.1.7
^

PR:		236192
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2019-03-04 10:35:34 +00:00
parent 65232cf5a2
commit f74845bc3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494578

View File

@ -46,6 +46,9 @@ PLIST_FILES= bin/gap
post-patch:
@${REINPLACE_CMD} -i '' -e '1s|/usr/bin/sh|/bin/sh|' \
${WRKSRC}/pkg/happrime/make_tarball
# Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC
@${REINPLACE_CMD} -i .c++20 's/-I/-iquote/' \
${WRKSRC}/pkg/*/Makefile.in
post-build:
cd ${WRKSRC}/pkg/simpcomp && \