anchor.diff:      cd ctpp2-2.8.3 && \
       cmake . && \
       sed -i '/#include <stdlib.h>/a #include <unistd.h>' src/CTPP2FileSourceLoader.cpp && \
  -    make && \
  -    make install 
  +    make -j4 && \
  +    make install && \
  +    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/ctpp2-2.8.3; fi
   
   RUN cd /usr/local/src/smartmet && \
       wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz && \
       tar zxf boost_1_55_0.tar.gz && \
       cd boost_1_55_0 && \
       ./bootstrap.sh --without-libraries=mpi,graph_parallel && \
  -    ./b2 && \
  -    ./b2 install 
  -
  -RUN yum -y install file gdk-pixbuf2-devel
  +    ./b2 -j4 && \
  +    ./b2 install && \
  +    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/boost_1_55_0; fi
   
   RUN cd /usr/local/src/smartmet && \
       wget http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/librsvg-2.40.6.tar.xz && \
  
positive.code:     echo 'set (CMAKE_CXX_FLAGS "-fPIC -DJSON_UTF8")' >> ../json_spirit/CMakeLists.txt && \
      sed -e '/BOOST_SPIRIT_THREADSAFE/ s/^#//' -i ../json_spirit/json_spirit_reader_template.h && \
      cmake .. && \
      make && \
      make install
  
  RUN cd /usr/local/src/smartmet && \
      git clone https://github.com/fmidev/smartmet-plugin-frontend.git && \
      cd smartmet-plugin-frontend && \
      sed -e 's/json_spirit\/json_spirit.h/json_spirit.h/g' -i source/Plugin.cpp && \
      make -j4 && make install
  
  RUN cd /usr/local/src/smartmet && \
      git clone https://github.com/fmidev/smartmet-plugin-autocomplete.git && \
      cd smartmet-plugin-autocomplete && \
      make -j4 && make install
  
  
  RUN echo "/usr/local/lib/" > /etc/ld.so.conf.d/local.conf
  RUN ldconfig -v
  
  COPY smartmetconf /etc/smartmet
  COPY timezones /usr/share/smartmet/timezones
  
negative.code:     cd librsvg-2.40.6 && \
      export CPPFLAGS="-I/usr/include/glib-2.0/" && \
      ./configure --disable-static --disable-gtk-doc --disable-gtk-theme --enable-introspection && \
      make -j4 && make install && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/librsvg-2.40.6; fi
  
  RUN cd /usr/local/src/smartmet && \
      wget http://il.ma/json_spirit_v4.08.zip && \
  