1
0
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:
Pawel Pekala 2013-12-20 12:26:23 +00:00
parent fa94e87031
commit f18d177974
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337003

View File

@ -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)