aboutsummaryrefslogtreecommitdiff
path: root/devel/codeworker
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeworker')
-rw-r--r--devel/codeworker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile
index 6c61ae437ec0..fa7d5c37281e 100644
--- a/devel/codeworker/Makefile
+++ b/devel/codeworker/Makefile
@@ -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)