svn commit: r337003 - head/devel/codeworker

Pawel Pekala pawel at FreeBSD.org
Fri Dec 20 12:26:23 UTC 2013


Author: pawel
Date: Fri Dec 20 12:26:23 2013
New Revision: 337003
URL: http://svnweb.freebsd.org/changeset/ports/337003

Log:
  Fix build with clang
  
  PR:		ports/184854
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>

Modified:
  head/devel/codeworker/Makefile

Modified: head/devel/codeworker/Makefile
==============================================================================
--- head/devel/codeworker/Makefile	Fri Dec 20 12:15:04 2013	(r337002)
+++ head/devel/codeworker/Makefile	Fri Dec 20 12:26:23 2013	(r337003)
@@ -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)


More information about the svn-ports-head mailing list