Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2019 09:16:19 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
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
Message-ID:  <201901020916.x029GJ4L058063@repo.freebsd.org>

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



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