svn commit: r456836 - in head: cad/calculix games/nxengine

Mark Linimon linimon at FreeBSD.org
Wed Dec 20 15:30:56 UTC 2017


Author: linimon
Date: Wed Dec 20 15:30:55 2017
New Revision: 456836
URL: https://svnweb.freebsd.org/changeset/ports/456836

Log:
  Cross-builds under qemu may have pathname information encoded in CXX.
  Fix some regexes to compensate.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/cad/calculix/Makefile
  head/games/nxengine/Makefile

Modified: head/cad/calculix/Makefile
==============================================================================
--- head/cad/calculix/Makefile	Wed Dec 20 15:28:57 2017	(r456835)
+++ head/cad/calculix/Makefile	Wed Dec 20 15:30:55 2017	(r456836)
@@ -14,10 +14,10 @@ COMMENT=	Three-Dimensional Structural Finite Element P
 
 LICENSE=	GPLv2
 
-BROKEN_FreeBSD_10=	Does not build with clang on FreeBSD 10, causes segfaults when built with gcc
-
 RUN_DEPENDS=	ccx:cad/calculix-ccx
 
+BROKEN_FreeBSD_10=	Does not build with clang on FreeBSD 10, causes segfaults when built with gcc
+
 DIST_SOURCES=	cgx_${PORTVERSION}.all${EXTRACT_SUFX}
 DIST_HTM=	cgx_${PORTVERSION}.htm${EXTRACT_SUFX}
 DIST_PDF=	cgx_${PORTVERSION}.pdf
@@ -57,7 +57,7 @@ FFLAGS+=	-fpic
 .endif
 
 pre-build:
-	@${REINPLACE_CMD} -e 's/c++/${CXX}/g;' \
+	@${REINPLACE_CMD} -e 's!c++!${CXX}!g;' \
 		${WRKSRC}/libSNL/src/makefile
 	@${REINPLACE_CMD} -e 's+%%DOCSDIR%%+${DOCSDIR}+g; \
 	s+"firefox"+"${BROWSER}"+ ; \

Modified: head/games/nxengine/Makefile
==============================================================================
--- head/games/nxengine/Makefile	Wed Dec 20 15:28:57 2017	(r456835)
+++ head/games/nxengine/Makefile	Wed Dec 20 15:30:55 2017	(r456836)
@@ -32,7 +32,7 @@ USE_SDL=	sdl ttf
 SUB_FILES=	${PORTNAME}
 
 pre-build:
-	@${REINPLACE_CMD} -e 's/g++/${CXX}/' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's!g++!${CXX}!' ${WRKSRC}/Makefile
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}


More information about the svn-ports-head mailing list