aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorluzpaz2014-07-08 15:18:24 -0500
committerMisty De Meo2014-07-08 14:13:35 -0700
commit0318a5b5474da1cce0ee1f8095901d2990924cf6 (patch)
tree6473bbac04b64b81f67c3c63e54b3102cb4b73de /Library/Formula
parent4005feff2feb128f6d188d6c01ff09113f9b0308 (diff)
downloadhomebrew-0318a5b5474da1cce0ee1f8095901d2990924cf6.tar.bz2
podofo 0.9.3
Since build was failing on Lion because X11 Freetype2 libs were used instead of Homebrew Freetype, 2 new Cmake arguments were added to successfully compile on all current Homebrew supported OSX platforms Closes #30747. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/podofo.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/podofo.rb b/Library/Formula/podofo.rb
index b66746a3c..35e093beb 100644
--- a/Library/Formula/podofo.rb
+++ b/Library/Formula/podofo.rb
@@ -2,9 +2,8 @@ require 'formula'
class Podofo < Formula
homepage 'http://podofo.sourceforge.net'
- url 'https://downloads.sourceforge.net/podofo/podofo-0.9.2.tar.gz'
- sha1 '8a6e27e17e0ed9f12e1a999cff66eae8eb97a4bc'
- revision 1
+ url 'https://downloads.sourceforge.net/podofo/podofo-0.9.3.tar.gz'
+ sha1 'e3b08af1266eb480032456e3bde030c75452d380'
depends_on 'cmake' => :build
depends_on 'libpng'
@@ -18,6 +17,8 @@ class Podofo < Formula
# Build shared to simplify linking for other programs.
system "cmake", "..",
"-DPODOFO_BUILD_SHARED:BOOL=TRUE",
+ "-DFREETYPE_INCLUDE_DIR_FT2BUILD=#{Formula['freetype'].include}/freetype2",
+ "-DFREETYPE_INCLUDE_DIR_FTHEADER=#{Formula['freetype'].include}/freetype2/config/",
*std_cmake_args
system "make install"
end