From d1f9d2d12c9c7d0f1c95ac7ef202d044e10ff025 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 11 Nov 2013 20:14:58 -0600 Subject: dynamips 0.2.10 - Add libelf include path; we build libelf with --disable-compat to avoid conflicts with system headers. Fixes #24192. --- Library/Formula/dynamips.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Library') diff --git a/Library/Formula/dynamips.rb b/Library/Formula/dynamips.rb index 6c73f5921..96284f8f9 100644 --- a/Library/Formula/dynamips.rb +++ b/Library/Formula/dynamips.rb @@ -2,17 +2,13 @@ require 'formula' class Dynamips < Formula homepage 'http://www.gns3.net/dynamips/' - url 'http://downloads.sourceforge.net/project/gns-3/Dynamips/0.2.8-RC3-community/dynamips-0.2.8-RC3-community.tar.gz' - sha1 'ed7138859e6bc381ae0cf0d2620b32099845847c' - version '0.2.8-RC3' + url 'http://downloads.sourceforge.net/project/gns-3/Dynamips/0.2.10/dynamips-0.2.10-source.zip' + sha1 '6b8fc56e21db2fabfa684813b3fa56b59c6fce0a' depends_on 'libelf' def install - # Install man pages to the standard Homebrew location - inreplace 'Makefile' do |s| - s.gsub! %r|\$\(DESTDIR\)/man|, man - end + ENV.append 'CFLAGS', "-I#{Formula.factory("libelf").include}/libelf" arch = Hardware.is_64_bit? ? 'amd64' : 'x86' -- cgit v1.2.3