mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Fix build with clang
PR: ports/184854 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
fa94e87031
commit
f18d177974
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337003
@ -27,7 +27,7 @@ post-patch:
|
||||
@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \
|
||||
${REINPLACE_CMD} -e \
|
||||
's|<features.h>|<cstdio>| ; \
|
||||
s|__GNUC_PREREQ |__GNUC_PREREQ__|'
|
||||
s|(__cplusplus) \&\&|(__cplusplus) // \&\&|'
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} codeworker ${STAGEDIR}${PREFIX}/bin)
|
||||
|
Loading…
Reference in New Issue
Block a user