freetype: build with system zlib
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 15 Jul 2010 09:30:41 +0000 (11:30 +0200)
committerEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 15 Jul 2010 09:38:00 +0000 (11:38 +0200)
Problems mentioned in 4187d3df8838506f6578a2b0f2fb98f98c41e151 (Aug
2006) seem to went away and build succeeds with system zlib now.  Using
system libraries is preferable because it saves space and allows better
tracking of security issues.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
recipes/freetype/freetype_2.3.12.bb

index fb57094..6056760 100644 (file)
@@ -1,7 +1,8 @@
 DESCRIPTION = "Freetype font rendering library"
 SECTION = "libs"
 LICENSE = "freetype"
-PR = "r0"
+PR = "r1"
+DEPENDS = "zlib"
 
 SRC_URI = "\
   ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
@@ -18,7 +19,6 @@ inherit autotools pkgconfig binconfig
 
 LIBTOOL = "${HOST_SYS}-libtool"
 EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
-EXTRA_OECONF = "--without-zlib"
 
 do_configure() {
        cd builds/unix