gnu: podofo: Fix detection of freetype.

* gnu/packages/pdf.scm (podofo)[arguments]: Add phase patching the cmake
  file that looks for freetype.
This commit is contained in:
Andreas Enge 2015-03-07 01:37:58 +01:00
parent b8ac8c282d
commit dde7092656
1 changed files with 10 additions and 1 deletions

View File

@ -338,7 +338,16 @@ interaction.")
("zlib" ,zlib)))
(arguments
`(#:configure-flags '("-DPODOFO_BUILD_SHARED=ON"
"-DPODOFO_BUILD_STATIC=ON")))
"-DPODOFO_BUILD_STATIC=ON")
#:phases
(alist-cons-before
'configure 'patch
(lambda* (#:key inputs #:allow-other-keys)
(let ((freetype (assoc-ref inputs "freetype")))
;; Look for freetype include files in the correct place.
(substitute* "cmake/modules/FindFREETYPE.cmake"
(("/usr/local") freetype))))
%standard-phases)))
(home-page "http://podofo.sourceforge.net")
(synopsis "Tools to work with the PDF file format")
(description