$NetBSD: patch-SConstruct,v 1.1 2014/12/11 22:13:58 joerg Exp $

--- SConstruct.orig	2014-12-11 21:32:11.000000000 +0000
+++ SConstruct
@@ -37,7 +37,7 @@ opts.AddVariables(
   BoolVariable('libkate', 'enable libkate support', 1),
   BoolVariable('crossmingw', 'Set to 1 for crosscompile with mingw', 0)
 )
-env = Environment(options = opts)
+env = Environment(options = opts, ENV=os.environ)
 Help(opts.GenerateHelpText(env))
 
 pkg_flags="--cflags --libs"
