From owner-svn-ports-all@freebsd.org Wed Jan 2 09:16:20 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5461A143BA8E; Wed, 2 Jan 2019 09:16:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB84082CD0; Wed, 2 Jan 2019 09:16:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DEA5A77FC; Wed, 2 Jan 2019 09:16:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x029GJm9058064; Wed, 2 Jan 2019 09:16:19 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x029GJ4L058063; Wed, 2 Jan 2019 09:16:19 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201901020916.x029GJ4L058063@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 2 Jan 2019 09:16:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r489068 - in branches/2019Q1/devel/astyle: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in branches/2019Q1/devel/astyle: . files X-SVN-Commit-Revision: 489068 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EB84082CD0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 02 Jan 2019 09:16:20 -0000 Author: linimon Date: Wed Jan 2 09:16:19 2019 New Revision: 489068 URL: https://svnweb.freebsd.org/changeset/ports/489068 Log: MFH: r489067 Fix CXX assignment and add new includes to fix build on GCC-based architectures. PR: 232734 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Approved by: portmgr (tier-2 blanket) Added: branches/2019Q1/devel/astyle/files/ - copied from r489067, head/devel/astyle/files/ Modified: branches/2019Q1/devel/astyle/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/devel/astyle/Makefile ============================================================================== --- branches/2019Q1/devel/astyle/Makefile Wed Jan 2 09:09:50 2019 (r489067) +++ branches/2019Q1/devel/astyle/Makefile Wed Jan 2 09:16:19 2019 (r489068) @@ -14,10 +14,6 @@ COMMENT= Source code indenter and formatter for C, C++ LICENSE= MIT LICENSE_FILE= ${WRKDIR}/astyle/LICENSE.md -BROKEN_mips= fails to build: unrecognized command line option "-std=c++11" -BROKEN_mips64= fails to build: unrecognized command line option "-std=c++11" -BROKEN_powerpc64= fails to build: unrecognized command line option "-std=c++11" - USES= compiler:c++11-lang dos2unix gmake ALL_TARGET= astyle @@ -25,6 +21,10 @@ DOS2UNIX_GLOB= *.ini WRKSRC= ${WRKDIR}/astyle/build/${CHOSEN_COMPILER_TYPE} OPTIONS_DEFINE= DOCS EXAMPLES + +do-configure: + @${REINPLACE_CMD} -e "s:%%CXX%%:${CXX}:" \ + ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/astyle ${STAGEDIR}${PREFIX}/bin