diff options
| author | Jack Nagel | 2013-11-11 20:14:58 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-11 20:19:59 -0600 |
| commit | d1f9d2d12c9c7d0f1c95ac7ef202d044e10ff025 (patch) | |
| tree | 22a92362e2abd85d2638c5afa9938833011749f7 /Library | |
| parent | ad2438ab28161cdd2a068f5c4686f7a0aefe303a (diff) | |
| download | homebrew-d1f9d2d12c9c7d0f1c95ac7ef202d044e10ff025.tar.bz2 | |
dynamips 0.2.10
- Add libelf include path; we build libelf with --disable-compat to
avoid conflicts with system headers.
Fixes #24192.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dynamips.rb | 10 |
1 files changed, 3 insertions, 7 deletions
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' |
