svn commit: r337016 - branches/2014Q1/devel/codeworker

Mathieu Arnold mat at FreeBSD.org
Fri Dec 20 14:45:04 UTC 2013


Author: mat
Date: Fri Dec 20 14:45:03 2013
New Revision: 337016
URL: http://svnweb.freebsd.org/changeset/ports/337016

Log:
  MFH: r337003
  
  Fix build with clang
  
  PR:		ports/184854
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
  Approved by:	portmgr (implicit)

Modified:
  branches/2014Q1/devel/codeworker/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/devel/codeworker/Makefile
==============================================================================
--- branches/2014Q1/devel/codeworker/Makefile	Fri Dec 20 14:43:12 2013	(r337015)
+++ branches/2014Q1/devel/codeworker/Makefile	Fri Dec 20 14:45:03 2013	(r337016)
@@ -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-branches mailing list