Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2018 19:18:35 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484538 - in head/devel/yosys: . files
Message-ID:  <201811091918.wA9JIZGe053255@repo.freebsd.org>

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



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