From 11f65d0b3a556d00c54c766d0b888ebbcb7ffd34 Mon Sep 17 00:00:00 2001
From: g0dil <g0dil@wiback.org>
Date: Thu, 20 Sep 2007 06:20:08 +0000
Subject: [PATCH] Add libsenf_filesystem

---
 SConstruct             | 3 ++-
 debian/control         | 9 +++++----
 senfscons/SENFSCons.py | 1 +
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/SConstruct b/SConstruct
index fba298786..5fd8c8811 100644
--- a/SConstruct
+++ b/SConstruct
@@ -70,6 +70,7 @@ deb          Build debian source and binary package
 debsrc       Build debian source package
 debbin       Build debian binary package
 linklint     Check links of doxygen documentation with 'linklint'
+fixlinks     Fix broken links in doxygen documentation
 """)
 
 if os.environ.get('debian_build'):
@@ -86,7 +87,7 @@ def configFilesOpts(target, source, env, for_signature):
 
 env.Append(
    CPPPATH = [ '#/include' ],
-   LIBS = [ 'iberty', '$BOOSTREGEXLIB' ],
+   LIBS = [ 'iberty', '$BOOSTREGEXLIB', '$BOOSTFSLIB' ],
    DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ],
    DOXY_HTML_XSL = '#/doclib/html-munge.xsl',
    ENV = { 'TODAY' : str(datetime.date.today()),
diff --git a/debian/control b/debian/control
index 270def168..832569e50 100644
--- a/debian/control
+++ b/debian/control
@@ -3,15 +3,16 @@ Priority: extra
 Maintainer: Stefan Bund <senf-dev@lists.berlios.de>
 Build-Depends: debhelper (>= 5), scons, binutils-dev, libboost-dev, 
 	libboost-test-dev, libboost-date-time-dev, libboost-regex-dev, 
-	doxygen, dia, tidy, xsltproc, graphviz, perl-base, linklint
-Standards-Version: 3.7.2
-Section: libs
+	libboost-filesystem-dev, doxygen, dia, tidy, xsltproc,
+	graphviz, perl-base, linklint 
+Standards-Version: 3.7.2 Section: libs
 
 Package: libsenf-dev
 Section: libdevel
 Architecture: any
 Depends: binutils-dev, libboost-dev, libboost-regex-dev, 
-	libboost-date-time-dev, libboost-thread-dev
+	libboost-date-time-dev, libboost-thread-dev,
+	libboost-filesystem-dev
 Description: SENF Extensible Network Framework, development files
  The SENF Simple and Extensible Network Framework aims to be a
  complete set of libraries to facilitate the development of network
diff --git a/senfscons/SENFSCons.py b/senfscons/SENFSCons.py
index 753f6921e..917f99763 100644
--- a/senfscons/SENFSCons.py
+++ b/senfscons/SENFSCons.py
@@ -150,6 +150,7 @@ def FinalizeBoost(env):
 
     env['BOOSTTESTLIB'] = 'libboost_unit_test_framework' + env['BOOST_VARIANT']
     env['BOOSTREGEXLIB'] = 'libboost_regex' + env['BOOST_VARIANT']
+    env['BOOSTFSLIB'] = 'libboost_filesystem' + env['BOOST_VARIANT']
 
     env.Append(LIBPATH = [ '$BOOST_LIBDIR' ],
                CPPPATH = [ '$BOOST_INCLUDES' ])
-- 
GitLab