diff options
author | joerg <joerg> | 2014-12-12 10:50:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-12-12 10:50:49 +0000 |
commit | 48716a6f2c805d5edabba3c67f05e27b0a7a4e71 (patch) | |
tree | 0f2d17137f3f0d7348b9dab82ac4090254ea5a76 /chat/swift | |
parent | 88ed9c0ee3a1bf00dff9ed3146d2bebcf92571fd (diff) | |
download | pkgsrc-48716a6f2c805d5edabba3c67f05e27b0a7a4e71.tar.gz |
Preserve environment.
Diffstat (limited to 'chat/swift')
-rw-r--r-- | chat/swift/distinfo | 4 | ||||
-rw-r--r-- | chat/swift/patches/patch-BuildTools_SCons_SConscript.boot | 16 | ||||
-rw-r--r-- | chat/swift/patches/patch-BuildTools_SCons_SConstruct | 13 |
3 files changed, 32 insertions, 1 deletions
diff --git a/chat/swift/distinfo b/chat/swift/distinfo index d081d997ad6..2cab9b91791 100644 --- a/chat/swift/distinfo +++ b/chat/swift/distinfo @@ -1,8 +1,10 @@ -$NetBSD: distinfo,v 1.2 2014/09/19 07:05:24 wiz Exp $ +$NetBSD: distinfo,v 1.3 2014/12/12 10:50:49 joerg Exp $ SHA1 (swift-2.0.tar.gz) = b04ba098fffb1edc2ef0215957371c249458f0be RMD160 (swift-2.0.tar.gz) = f1e8f38e650a3178e236ec8d6f3cb97fecb4910d Size (swift-2.0.tar.gz) = 8816954 bytes +SHA1 (patch-BuildTools_SCons_SConscript.boot) = dadfab9a521d9ef1c1e5de0a8bec080d0a7b3e63 +SHA1 (patch-BuildTools_SCons_SConstruct) = 3a6bc4e3a931c8fa0e299edac65c3e8101f661bc SHA1 (patch-BuildTools_SCons_Tools_qt4.py) = 9c1f20a0dae15f73db02bbfe0d11e077176f2fcc SHA1 (patch-Swift_QtUI_UserSearch_QtUserSearchWindow.cpp) = 1bb39d5b89bbd0d1d77c8cda7db55c3fbec066b8 SHA1 (patch-Swiften_EventLoop_EventLoop.cpp) = a840ad43cd5082c3f511c6efd1a49e910c3fb6ea diff --git a/chat/swift/patches/patch-BuildTools_SCons_SConscript.boot b/chat/swift/patches/patch-BuildTools_SCons_SConscript.boot new file mode 100644 index 00000000000..9895201c245 --- /dev/null +++ b/chat/swift/patches/patch-BuildTools_SCons_SConscript.boot @@ -0,0 +1,16 @@ +$NetBSD: patch-BuildTools_SCons_SConscript.boot,v 1.1 2014/12/12 10:50:49 joerg Exp $ + +--- BuildTools/SCons/SConscript.boot.orig 2014-12-11 23:47:38.000000000 +0000 ++++ BuildTools/SCons/SConscript.boot +@@ -65,10 +65,7 @@ vars.Add(BoolVariable("set_iterator_debu + # Set up default build & configure environment + ################################################################################ + +-env_ENV = { +- 'PATH' : os.environ['PATH'], +- 'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH", ""), +-} ++env_ENV = os.environ + if "MSVC_VERSION" in ARGUMENTS : + env = Environment(ENV = env_ENV, variables = vars, MSVC_VERSION = ARGUMENTS["MSVC_VERSION"]) + else : diff --git a/chat/swift/patches/patch-BuildTools_SCons_SConstruct b/chat/swift/patches/patch-BuildTools_SCons_SConstruct new file mode 100644 index 00000000000..dd1710cdefe --- /dev/null +++ b/chat/swift/patches/patch-BuildTools_SCons_SConstruct @@ -0,0 +1,13 @@ +$NetBSD: patch-BuildTools_SCons_SConstruct,v 1.1 2014/12/12 10:50:49 joerg Exp $ + +--- BuildTools/SCons/SConstruct.orig 2014-12-11 23:38:09.000000000 +0000 ++++ BuildTools/SCons/SConstruct +@@ -194,7 +194,7 @@ if env["PLATFORM"] != "win32" and env["P + gconf_env = conf_env.Clone() + conf = Configure(gconf_env, custom_tests = {"CheckPKG": CheckPKG}) + if conf.CheckPKG("gconf-2.0") : +- gconf_bare_env = Environment() ++ gconf_bare_env = Environment(ENV=os.environ) + gconf_bare_env.ParseConfig('pkg-config --cflags gconf-2.0 gobject-2.0 --libs gconf-2.0 gobject-2.0') + gconf_flags = { + "LIBS": gconf_bare_env["LIBS"], |