@@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
2121 })
2222 ];
2323
24+ postPatch = lib.optionalString stdenv.isDarwin ''
25+ substituteInPlace Makefile.conf \
26+ --subst-var-by PREFIX $out
27+ '';
28+
2429 nativeBuildInputs = [ perl ];
2530
2631 buildInputs = [ zlib bzip2 ];
@@ -34,7 +39,7 @@ stdenv.mkDerivation rec {
3439 meta = with lib; {
3540 homepage = "http://www.routino.org/";
3641 description = "OpenStreetMap Routing Software";
37− license = licenses.agpl3;
42+ license = licenses.agpl3Plus;
3843 maintainers = with maintainers; [ dotlambda ];
3944 platforms = with platforms; linux ++ darwin;
4045 };