aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Guthrie2013-03-24 15:02:18 +0000
committerJack Nagel2013-03-24 14:33:47 -0500
commit88f9bbd6cb1036b26e090a74555c81d1063d8458 (patch)
tree123aa30bcf9220d3fa63d0a77c66f7376a63ae29 /Library
parent04e4b1b71261924a3daf6848624d787987276737 (diff)
downloadhomebrew-88f9bbd6cb1036b26e090a74555c81d1063d8458.tar.bz2
graphicsmagick 1.3.18
Closes #18700. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/graphicsmagick.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb
index 61aacf35b..22ed3b7b6 100644
--- a/Library/Formula/graphicsmagick.rb
+++ b/Library/Formula/graphicsmagick.rb
@@ -10,8 +10,8 @@ end
class Graphicsmagick < Formula
homepage 'http://www.graphicsmagick.org/'
- url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.17/GraphicsMagick-1.3.17.tar.bz2'
- sha256 'cb4e29543b2912657207016ad4c7a081a96b0e4a4d84520bd74d242b3d9a6a7e'
+ url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.18/GraphicsMagick-1.3.18.tar.bz2'
+ sha256 '768b89a685d29b0e463ade21bc0649f2727800ebc5a8e13fa6fc17ccb9da769b'
head 'hg://http://graphicsmagick.hg.sourceforge.net:8000/hgroot/graphicsmagick/graphicsmagick'
@@ -49,19 +49,12 @@ class Graphicsmagick < Formula
def install
# versioned stuff in main tree is pointless for us
inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}'
- # Homebrew cleans ".la" files from lib but this configure looks for them.
- # Maintainers: This will be fixed in the next version >= 1.3.18 (probably)
- # Then the next line will not be needed anymore. Further the --with-ltdl... flags
- # further down can be removed then!
- inreplace 'configure', 'if test -f "$with_ltdl_lib/libltdl.la"', 'if test -f "$with_ltdl_lib/libltdl.a"'
args = ["--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared", "--disable-static"]
args << "--without-magick-plus-plus" if build.include? 'without-magick-plus-plus'
args << "--disable-openmp" if MacOS.version == :leopard or not ENV.compiler == :gcc # libgomp unavailable
- args << "--with-ltdl-include=#{Formula.factory('libtool').opt_prefix}/include" # avoid to ship it's own ltdl
- args << "--with-ltdl-lib=#{Formula.factory('libtool').opt_prefix}/lib" # avoid to ship it's own ltdl
args << "--with-gslib" if ghostscript_srsly?
args << "--with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts" \
unless ghostscript_fonts?