diff --git a/component/freetype/buildout.cfg b/component/freetype/buildout.cfg
index eb64ada05f27abe5f68152e4a76fab19537f6347..6a51d0bc84365e93460625adbbac0f735f05862d 100644
--- a/component/freetype/buildout.cfg
+++ b/component/freetype/buildout.cfg
@@ -4,6 +4,7 @@
 [buildout]
 extends =
   ../bzip2/buildout.cfg
+  ../libpng/buildout.cfg
   ../zlib/buildout.cfg
 
 parts =
@@ -11,10 +12,13 @@ parts =
 
 [freetype]
 recipe = slapos.recipe.cmmi
-url = http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.bz2
-md5sum = b93435488942486c8d0ca22e8f768034
+url = http://download.savannah.gnu.org/releases/freetype/freetype-2.5.0.1.tar.bz2
+md5sum = c72e9010b1d986d556fc0b2b5fcbf31a
+depends =
+  ${libpng:so_version}
 configure-options =
   --disable-static
 environment =
   CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
   LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
+  PATH=${libpng:location}/bin:%(PATH)s