+++ /dev/null
-Index: freetype-2.3.6/builds/unix/configure.ac
-===================================================================
---- freetype-2.3.6.orig/builds/unix/configure.ac
-+++ freetype-2.3.6/builds/unix/configure.ac
-@@ -506,8 +506,6 @@ AC_SUBST([FT2_EXTRA_LIBS])
- AC_SUBST([SYSTEM_ZLIB])
-
-
--LT_INIT(win32-dll)
--
- AC_SUBST([hardcode_libdir_flag_spec])
- AC_SUBST([wl])
- AC_SUBST([build_libtool_libs])
+++ /dev/null
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
-Index: freetype-2.1.8/builds/unix/configure.ac
-===================================================================
---- freetype-2.1.8.orig/builds/unix/configure.ac 2004-04-14 04:49:11.000000000 -0400
-+++ freetype-2.1.8/builds/unix/configure.ac 2005-03-12 03:14:23.000000000 -0500
-@@ -111,8 +111,8 @@
- # Check for system zlib
-
- AC_ARG_WITH([zlib],
-- dnl don't quote AS_HELP_STRING!
-- AS_HELP_STRING([--without-zlib],
-+ dnl don't quote AC_HELP_STRING!
-+ AC_HELP_STRING([--without-zlib],
- [use internal zlib instead of system-wide]))
- if test x$with_zlib != xno && test -z "$LIBZ"; then
- AC_CHECK_LIB([z], [gzsetparams], [AC_CHECK_HEADER([zlib.h], [LIBZ='-lz'])])
-@@ -127,7 +127,7 @@
- # Whether to use Mac OS resource-based fonts or not
-
- AC_ARG_WITH([old-mac-fonts],
-- dnl don't quote AS_HELP_STRING!
-- AS_HELP_STRING([--with-old-mac-fonts],
-+ dnl don't quote AC_HELP_STRING!
-+ AC_HELP_STRING([--with-old-mac-fonts],
- [allow Mac resource-based fonts to be used]))
- if test x$with_old_mac_fonts = xyes; then
-Index: freetype-2.1.8/builds/unix/unix-cc.in
-===================================================================
---- freetype-2.1.8.orig/builds/unix/unix-cc.in 2003-11-09 03:37:13.000000000 -0500
-+++ freetype-2.1.8/builds/unix/unix-cc.in 2005-03-12 18:37:24.613693760 -0500
-@@ -14,9 +14,11 @@
-
- CC := @CC@
- COMPILER_SEP := $(SEP)
-+SHELL := @SHELL@
-+top_builddir := $(BUILD_DIR)
-
- ifndef LIBTOOL
-- LIBTOOL := $(BUILD_DIR)/libtool
-+ LIBTOOL := @LIBTOOL@
- endif
-
-
DESCRIPTION = "Freetype font rendering library"
SECTION = "libs"
LICENSE = "freetype GPLv2"
-PR = "r0"
+PR = "r1"
DEPENDS = "zlib"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
file://no-hardcode.patch \
- file://fix-configure.patch \
file://libtool-tag.patch \
"
S = "${WORKDIR}/freetype-${PV}"
inherit autotools pkgconfig binconfig
-LIBTOOL = "${HOST_SYS}-libtool"
+LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+LDFLAGS_append = " -Wl,-rpath-link -Wl,${STAGING_DIR_TARGET}${libdir}"
+
do_configure() {
cd builds/unix
- libtoolize --force --copy
gnu-configize --force
aclocal -I .
+ libtoolize --force --copy
autoconf
cd ${S}
oe_runconf