svn commit: r539570 - head/Mk

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jun 18 20:34:16 UTC 2020


Author: pkubaj
Date: Thu Jun 18 20:34:16 2020
New Revision: 539570
URL: https://svnweb.freebsd.org/changeset/ports/539570

Log:
  Mk/bsd.gecko.mk: add devel/binutils to BUILD_DEPENDS
  
  Currently, Rust on powerpc64 elfv2 builds with GCC because of past issue with LLVM. However, this issue seems to be resolved now and I can already build Rust with Clang and then build with it other packages, like Firefox.
  
  The problem is that, when using GCC, binutils is getting installed, but when using LLVM, it's not and there is -fno-integrated-as getting passed on ppc64.
  
  Since it's only for the build and users building from ports have binutils installed anyway, add it for everyone.
  
  PR:		247387
  Approved by:	jbeich (maintainer)

Modified:
  head/Mk/bsd.gecko.mk

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Thu Jun 18 20:23:45 2020	(r539569)
+++ head/Mk/bsd.gecko.mk	Thu Jun 18 20:34:16 2020	(r539570)
@@ -310,6 +310,7 @@ CFLAGS+=	-B${LOCALBASE}/bin
 LDFLAGS+=	-B${LOCALBASE}/bin
 . endif
 .elif ${ARCH:Mpowerpc*}
+BUILD_DEPENDS+=	as:devel/binutils
 . if ${ARCH} == "powerpc64"
 MOZ_EXPORT+=	UNAME_m="${ARCH}"
 . endif


More information about the svn-ports-all mailing list