Changeset 920

Show
Ignore:
Timestamp:
10/15/07 03:47:31
Author:
alexamici
Message:

Use the libraries zc.recipie.egg option to pass the gdal library name to PCL and work around the broken gdal-config shipped
by Ubuntu 7.04. This version appears to compile correctly on Ubuntu 7.04, Debian unstable (currrent) and Debian etch
Also fix the custom build gdal-config section for custom build.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • buildout/pcl.buildout/trunk/buildout-deb.cfg

    r919 r920  
    7171 
    7272[PCL-GDAL] 
     73# The explicit system include and library directories are present due to a bug 
     74# in the gdal-config shipped with Ubuntu 7.04 
    7375include-dirs = 
    7476    ${gdal-config:include-dirs} 
    7577    /usr/include/python2.4 
     78    /usr/include 
    7679library-dirs = 
    7780    ${gdal-config:library-dirs} 
     81    /usr/lib 
    7882rpath =  
     83libraries = ${gdal-config:libraries} 
    7984 
    8085[gdal-config] 
  • buildout/pcl.buildout/trunk/dependencies.cfg

    r916 r920  
    115115[gdal-config] 
    116116recipe = bopen.recipe.libinc 
    117 flags-command = ${gdal:location}/bin/gdal-config --libs 
     117flags-command = 
     118    ${gdal:location}/bin/gdal-config --libs 
     119    ${gdal:location}/bin/gdal-config --cflags 
    118120 
    119121[swig]