mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
multimedia/zoneminder: unbreak with libc++ 8
In file included from src/zm_box.cpp:20: In file included from src/zm.h:27: In file included from src/zm_config.h:27: 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 1.32.3 ^ PR: 236192 Approved by: portmgr blanket
This commit is contained in:
parent
e8f586fd3e
commit
f9fbdd5a5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494585
@ -101,6 +101,12 @@ post-extract:
|
||||
${REINPLACE_CMD} -e 's|/dev/shm|/tmp|g' ${WRKSRC}/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
|
||||
# ${REINPLACE_CMD} -e 's|E_ALL|E_ALL^E_NOTICE|g' ${WRKSRC}/web/index.php
|
||||
|
||||
post-patch:
|
||||
# Avoid conflict with C++20 <version> by adding .txt suffix
|
||||
@${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
|
||||
@${REINPLACE_CMD} -i .c++20 's/"version/&.txt/' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}/temp
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}/api/app/tmp
|
||||
|
Loading…
Reference in New Issue
Block a user