Browse Source

mapnik: fixed to build

user/chris/old/ruby
Nagy Karoly Gabriel 15 years ago committed by Alejandro Mery
parent
commit
9164ad28a7
  1. 16
      develop/mapnik/mapnik.conf

16
develop/mapnik/mapnik.conf

@ -14,8 +14,22 @@
makeopt= makeopt=
makeinstopt= makeinstopt=
hook_add inmake 5 "scons $sconsopt prefix=/$prefix; scons prefix=/$prefix install" hook_add inmake 5 "scons $sconsopt PREFIX=/$prefix; scons PREFIX=/$prefix install"
for x in thread filesystem regex serialization; do for x in thread filesystem regex serialization; do
var_append extraconfopt ' ' "--with-boost-$x=boost_${x}-mt" var_append extraconfopt ' ' "--with-boost-$x=boost_${x}-mt"
done done
fix_sconstructlib() {
local x
if [[ "$libdir" != */lib ]]; then
x='lib64'
else
x='lib'
fi
sed -i -e "s,LIBDIR_SCHEMA=.*$,LIBDIR_SCHEMA= '$x',g" SConstruct
}
hook_add premake 3 fix_sconstructlib

Loading…
Cancel
Save