ports/184854: devel/codeworker: Fix build with clang

KATO Tsuguru tkato432 at yahoo.com
Mon Dec 16 18:10:15 UTC 2013


>Number:         184854
>Category:       ports
>Synopsis:       devel/codeworker: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 16 18:10:14 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/codeworker/Makefile devel/codeworker/Makefile
--- /usr/ports/devel/codeworker/Makefile	2013-11-19 02:05:30.000000000 +0900
+++ devel/codeworker/Makefile	2013-12-17 00:00:00.000000000 +0900
@@ -27,7 +27,7 @@
 	@${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)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list