Index: branches/2019Q1/devel/astyle/Makefile =================================================================== --- branches/2019Q1/devel/astyle/Makefile (revision 489067) +++ branches/2019Q1/devel/astyle/Makefile (revision 489068) @@ -1,36 +1,36 @@ # Created by: Don Croyle # $FreeBSD$ PORTNAME= astyle PORTVERSION= 3.1 PORTREVISION= 2 CATEGORIES= devel textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_linux MAINTAINER= lme@FreeBSD.org COMMENT= Source code indenter and formatter for C, C++, C\#, and Java 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 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 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/doc/* ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/astyle/file/* ${STAGEDIR}${EXAMPLESDIR} .include Index: branches/2019Q1/devel/astyle/files/patch-build_gcc_Makefile =================================================================== --- branches/2019Q1/devel/astyle/files/patch-build_gcc_Makefile (nonexistent) +++ branches/2019Q1/devel/astyle/files/patch-build_gcc_Makefile (revision 489068) @@ -0,0 +1,11 @@ +--- ../../build/gcc/Makefile.orig 2018-01-11 17:18:18 UTC ++++ ../../build/gcc/Makefile +@@ -37,7 +37,7 @@ objdir = obj + ipath=$(prefix)/bin + CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 + JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux +-CXX = g++ ++CXX = %%CXX%% + INSTALL=install -o $(USER) -g $(USER) + + # Library's major version number -- Increment in case of incompatible API Property changes on: branches/2019Q1/devel/astyle/files/patch-build_gcc_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1/devel/astyle/files/patch-src_astyle__main.cpp =================================================================== --- branches/2019Q1/devel/astyle/files/patch-src_astyle__main.cpp (nonexistent) +++ branches/2019Q1/devel/astyle/files/patch-src_astyle__main.cpp (revision 489068) @@ -0,0 +1,13 @@ +--- ../../src/astyle_main.cpp.orig 2018-11-28 00:32:16.924868000 +0100 ++++ ../../src/astyle_main.cpp 2018-11-28 00:33:36.071105000 +0100 +@@ -46,6 +46,10 @@ + #ifdef _WIN32 + #undef UNICODE // use ASCII windows functions + #include ++#elif defined(__FreeBSD__) ++ #include ++ #include ++ #include + #else + #include + #include Property changes on: branches/2019Q1/devel/astyle/files/patch-src_astyle__main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1 =================================================================== --- branches/2019Q1 (revision 489067) +++ branches/2019Q1 (revision 489068) Property changes on: branches/2019Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r489067