diff options
| author | Misty De Meo | 2011-12-24 20:33:58 -0600 |
|---|---|---|
| committer | Misty De Meo | 2011-12-24 20:38:58 -0600 |
| commit | a2ca892ec88c32d62ca4db5219fe50fa5652370d (patch) | |
| tree | 4577e98570d0141ea3077bef80512543ee25cbed /Library/Formula/libgdiplus.rb | |
| parent | ec14c98f3d79ad90731483bfd02b20ab2d05ef7c (diff) | |
| download | homebrew-a2ca892ec88c32d62ca4db5219fe50fa5652370d.tar.bz2 | |
libgdiplus 2.10
Also adds a patch from NetBSD to correct compilation against libpng 1.5.
See: https://bugs.gentoo.org/355113
Fixes #9253.
Diffstat (limited to 'Library/Formula/libgdiplus.rb')
| -rw-r--r-- | Library/Formula/libgdiplus.rb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Library/Formula/libgdiplus.rb b/Library/Formula/libgdiplus.rb index 4659ae403..166d3953a 100644 --- a/Library/Formula/libgdiplus.rb +++ b/Library/Formula/libgdiplus.rb @@ -1,16 +1,25 @@ require 'formula' class Libgdiplus < Formula - url 'http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.6.tar.bz2' + url 'http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.10.tar.bz2' homepage 'http://www.mono-project.com/Libgdiplus' - md5 '9107b4429fdafde914bd23405544c58d' + md5 '451966e8f637e3a1f02d1d30f900255d' depends_on 'gettext' depends_on 'libtiff' depends_on 'libexif' depends_on 'glib' + def patches + # fixes compilation against libpng1.5 + # see https://bugs.gentoo.org/355113 + # and https://bugzilla.novell.com/show_bug.cgi?id=666583 + { :p0 => 'http://cvsweb.se.netbsd.org/cgi-bin/bsdweb.cgi/~checkout~/pkgsrc/graphics/libgdiplus/patches/patch-aa?rev=1.9;content-type=text%2Fplain' } + end if MacOS.lion? + def install + ENV.x11 + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make install" end |
