svn commit: r556296 - in head/devel/gn: . files

Piotr Kubaj pkubaj at FreeBSD.org
Wed Nov 25 15:42:37 UTC 2020


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 at 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.


More information about the svn-ports-head mailing list