diff options
Diffstat (limited to 'net/xorp/files/patch-SConstruct')
-rw-r--r-- | net/xorp/files/patch-SConstruct | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/xorp/files/patch-SConstruct b/net/xorp/files/patch-SConstruct new file mode 100644 index 000000000000..826dc700564d --- /dev/null +++ b/net/xorp/files/patch-SConstruct @@ -0,0 +1,27 @@ +--- ./SConstruct.orig 2012-01-11 17:46:45.000000000 +0000 ++++ ./SConstruct 2014-02-26 21:17:13.000000000 +0000 +@@ -162,22 +162,13 @@ + + # XXX TODO: Make initial CPPPATH/LIBPATH derive from + # autodetected host system *or* command line. +-#env = Environment( +-# TOOLS = ['default', 'autotest', 'clntgen', 'tgtgen', +-# 'TOOL_SUBST'], +-# ENV = os.environ, +-# BUILDDIR = builddir, +-# CPPPATH=['/usr/local/include', '$BUILDDIR'], +-# LIBPATH=['usr/lib', '/usr/local/lib'], +-# variables = vars) +- + env = Environment( + TOOLS = ['default', 'autotest', 'clntgen', 'tgtgen', + 'TOOL_SUBST'], + ENV = os.environ, + BUILDDIR = builddir, +- CPPPATH=['$BUILDDIR'], +- LIBPATH=['usr/lib'], ++ CPPPATH=['%%LOCALBASE%%/include', '$BUILDDIR'], ++ LIBPATH=['usr/lib', '%%LOCALBASE%%/lib'], + variables = vars) + + prefix = env['prefix'] |