File jhbuild-unset-config-site.patch of Package jhbuild

From c4192505efc7cf88041dbcb6de8153c2fc596902 Mon Sep 17 00:00:00 2001
From: Hans Petter Jansson <hpj@cl.no>
Date: Fri, 25 Nov 2016 00:52:01 +0100
Subject: environment: Unset CONFIG_SITE, which was causing issues on openSUSE.

https://bugzilla.gnome.org/show_bug.cgi?id=745223
---
 jhbuild/environment.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index 02ab939..81d368c 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -116,6 +116,9 @@ def setup_env_defaults(system_libdirs):
                 valarr.remove(x)
         os.environ['LD_PRELOAD'] = ' '.join(valarr)
 
+    if os.environ.has_key('CONFIG_SITE'):
+        del os.environ['CONFIG_SITE']
+
 def setup_env(prefix):
     '''set environment variables for using prefix'''
 
-- 
cgit v0.12

openSUSE Build Service is sponsored by