From owner-svn-ports-all@FreeBSD.ORG Fri May 8 09:38:46 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26F71AA6; Fri, 8 May 2015 09:38:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14C271CE3; Fri, 8 May 2015 09:38:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t489cjr9048791; Fri, 8 May 2015 09:38:45 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t489cjbA048790; Fri, 8 May 2015 09:38:45 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201505080938.t489cjbA048790@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 8 May 2015 09:38:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r385745 - branches/2015Q2/emulators/yape X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 09:38:46 -0000 Author: amdmi3 Date: Fri May 8 09:38:45 2015 New Revision: 385745 URL: https://svnweb.freebsd.org/changeset/ports/385745 Log: MFH: r385734 - Fix build with clang Approved by: portmgr blanket Approved by: ports-secteam (erwin) Modified: branches/2015Q2/emulators/yape/Makefile Directory Properties: branches/2015Q2/ (props changed) Modified: branches/2015Q2/emulators/yape/Makefile ============================================================================== --- branches/2015Q2/emulators/yape/Makefile Fri May 8 09:22:52 2015 (r385744) +++ branches/2015Q2/emulators/yape/Makefile Fri May 8 09:38:45 2015 (r385745) @@ -12,7 +12,7 @@ MAINTAINER= jmohacsi@bsd.hu COMMENT= Yet Another Commodore +4 Emulator USE_SDL= sdl -USES= gmake +USES= compiler:features gmake NO_WRKSUBDIR= yes ALL_TARGET= yape @@ -21,12 +21,17 @@ PORTDOCS= README.SDL OPTIONS_DEFINE= DOCS +.include + post-extract: @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/Makefile post-patch: +.if ${COMPILER_TYPE} == clang + @${REINPLACE_CMD} -e "s|-frerun-loop-opt||" ${WRKSRC}/Makefile +.endif @${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|TAP::TAP|TAP|" ${WRKSRC}/tape.h @@ -37,4 +42,4 @@ post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.SDL ${STAGEDIR}${DOCSDIR} -.include +.include