Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 12:26:23 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337003 - head/devel/codeworker
Message-ID:  <201312201226.rBKCQN7s043235@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201226.rBKCQN7s043235>