svn commit: r489068 - in branches/2019Q1/devel/astyle: . files

Mark Linimon linimon at FreeBSD.org
Wed Jan 2 09:16:20 UTC 2019


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


More information about the svn-ports-all mailing list