Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2020 15:42:37 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556296 - in head/devel/gn: . files
Message-ID:  <202011251542.0APFgboC046273@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Nov 25 15:42:36 2020
New Revision: 556296
URL: https://svnweb.freebsd.org/changeset/ports/556296

Log:
  devel/gn: add support for powerpc*

Added:
  head/devel/gn/files/patch-src_gn_args.cc   (contents, props changed)
Modified:
  head/devel/gn/Makefile

Modified: head/devel/gn/Makefile
==============================================================================
--- head/devel/gn/Makefile	Wed Nov 25 15:25:01 2020	(r556295)
+++ head/devel/gn/Makefile	Wed Nov 25 15:42:36 2020	(r556296)
@@ -3,7 +3,7 @@
 PORTNAME=	gn
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1823
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 
 MAINTAINER=	o.hushchenkov@gmail.com

Added: head/devel/gn/files/patch-src_gn_args.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gn/files/patch-src_gn_args.cc	Wed Nov 25 15:42:36 2020	(r556296)
@@ -0,0 +1,11 @@
+--- src/gn/args.cc.orig	2020-11-25 15:41:38 UTC
++++ src/gn/args.cc
+@@ -354,7 +354,7 @@ void Args::SetSystemVarsLocked(Scope* dest) const {
+     arch = kMips64;
+   else if (os_arch == "s390x")
+     arch = kS390X;
+-  else if (os_arch == "ppc64" || os_arch == "ppc64le")
++  else if (os_arch == "ppc64" || os_arch == "ppc64le" || os_arch == "powerpc")
+     // We handle the endianness inside //build/config/host_byteorder.gni.
+     // This allows us to use the same toolchain as ppc64 BE
+     // and specific flags are included using the host_byteorder logic.



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