File remove-internal-findfreetype-references.patch of Package podofo.23799
diff -Naur podofo-0.9.2.orig/CMakeLists.txt podofo-0.9.2/CMakeLists.txt
--- podofo-0.9.2.orig/CMakeLists.txt 2012-12-12 23:55:46.000000000 +0100
+++ podofo-0.9.2/CMakeLists.txt 2013-12-11 21:39:31.799099677 +0100
@@ -369,8 +369,8 @@
FIND_PACKAGE(OpenSSL)
-FIND_PACKAGE(FREETYPE REQUIRED)
-MESSAGE("Found freetype library at ${FREETYPE_LIBRARIES}, headers ${FREETYPE_INCLUDE_DIR}")
+FIND_PACKAGE(Freetype REQUIRED)
+MESSAGE("Found freetype library at ${FREETYPE_LIBRARY}, headers ${FREETYPE_INCLUDE_DIRS}")
FIND_PACKAGE(LIBSTLPORT)
SET(stlport_libraries_if_use_stlport)
@@ -466,7 +466,7 @@
${PoDoFo_BINARY_DIR}
${PoDoFo_SOURCE_DIR}
${PoDoFo_SOURCE_DIR}/src
- ${FREETYPE_INCLUDE_DIR}
+ ${FREETYPE_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR}
${EXTRA_INCLUDES}
)
@@ -487,7 +487,7 @@
${LIBJPEG_LIBRARIES}
${PLATFORM_SYSTEM_LIBRARIES}
${stlport_libraries_if_use_stlport}
- ${FREETYPE_LIBRARIES}
+ ${FREETYPE_LIBRARY}
${PNG_LIBRARIES}
${TIFF_LIBRARIES}
)