svn commit: r484538 - in head/devel/yosys: . files

Steve Wills swills at FreeBSD.org
Fri Nov 9 19:18:36 UTC 2018


Author: swills
Date: Fri Nov  9 19:18:35 2018
New Revision: 484538
URL: https://svnweb.freebsd.org/changeset/ports/484538

Log:
  devel/yosys: use simpler way of dealing with compiler issues
  
  PR:		232117
  Submitted by:	jbeich
  Pointyhat to:	swills

Deleted:
  head/devel/yosys/files/
Modified:
  head/devel/yosys/Makefile   (contents, props changed)

Modified: head/devel/yosys/Makefile
==============================================================================
--- head/devel/yosys/Makefile	Fri Nov  9 18:52:21 2018	(r484537)
+++ head/devel/yosys/Makefile	Fri Nov  9 19:18:35 2018	(r484538)
@@ -29,19 +29,12 @@ GH_TAGNAME=	bab39eacce5c17c42d50a3a60a67cc8a9ee52d98
 BINARY_ALIAS=	python3=${PYTHON_CMD} tclsh=${TCLSH}
 MAKE_ARGS=	ABCEXTERNAL=abc
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
-EXTRA_PATCHES=	${PATCHDIR}/extra-patch-Makefile
-.endif
-
 post-patch:
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
-	${REINPLACE_CMD} -e 's|%%GCC_DEFAULT%%|${GCC_DEFAULT}|' \
+	${REINPLACE_CMD} -e '/^CXX =/d; s/^LD = .*/LD = $$(CXX)/' \
+		-e '/^CONFIG/s/clang/${CHOSEN_COMPILER_TYPE}/' \
 		${WRKSRC}/Makefile
-.endif
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yosys
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list