~ubuntu-branches/ubuntu/trusty/mapnik/trusty

« back to all changes in this revision

Viewing changes to utils/shapeindex/SConscript

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-05-20 15:39:58 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090520153958-cf6z1ql9zva4y4dq
Tags: 0.6.0-1ubuntu1
* Merge from debian unstable (LP: #378819), remaining changes:
  - debian/control:
    + Change bdeps from python2.5-dev to python-all-dev (>= 2.5)
    + Change XS-Python-Version from 2.5 to >= 2.5
  - debian/rules:
    + Various changes to enable python2.5 and python2.6 builds
* debian/patches/libtool2_2.diff Dropped. Included upsteam.
* Removed quilt support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
prefix = env['PREFIX']
27
27
install_prefix = env['DESTDIR'] + '/' + prefix
28
28
 
29
 
thread_suffix = '-mt'
30
 
 
31
 
if env['PLATFORM'] == 'FreeBSD':
32
 
    thread_suffix = ''
33
 
 
34
29
source = Split(
35
30
    """
36
31
    shapeindex.cpp
43
38
 
44
39
boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND']
45
40
boost_iostreams  = 'boost_iostreams%s' % env['BOOST_APPEND']
46
 
if env['THREADING'] == 'multi':
47
 
    boost_program_options = '%s%s' % (boost_program_options,thread_suffix)
48
 
    boost_iostreams = '%s%s' % (boost_iostreams,thread_suffix)
49
41
libraries =  [boost_program_options,boost_iostreams]
50
42
 
51
43
shapeindex = env.Program('shapeindex', source, CPPPATH=headers, LIBS=libraries)