Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
nasm: apply upstream outmac64 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Nov 27, 2015
1 parent 2a7b575 commit 52206ef
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions Library/Formula/nasm.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
class Nasm < Formula
desc "Netwide Assembler (NASM) is an 80x86 assembler"
homepage "http://www.nasm.us/"
url "http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.tar.xz"
sha256 "c99467c7072211c550d147640d8a1a0aa4d636d4d8cf849f3bf4317d900a1f7f"
revision 1

stable do
url "http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.tar.xz"
sha256 "c99467c7072211c550d147640d8a1a0aa4d636d4d8cf849f3bf4317d900a1f7f"

patch do
url "https://raw.githubusercontent.com/Homebrew/patches/7a329c65e/nasm/nasm_outmac64.patch"
sha256 "54bfb2a8e0941e0108efedb4a3bcdc6ce8dff0d31d3abdf2256410c0f93f5ad7"
end
end

bottle do
cellar :any_skip_relocation
Expand All @@ -12,12 +21,17 @@ class Nasm < Formula
sha256 "0191f8c219a08f1a3207d63e07b736b627f90d80373d400bded4cada29afc184" => :mountain_lion
end

devel do
url "http://www.nasm.us/pub/nasm/releasebuilds/2.11.09rc1/nasm-2.11.09rc1.tar.xz"
sha256 "8b76b7f40701a5bdc8ef29fc352edb0714a8e921b2383072283057d2b426a890"
end

option :universal

def install
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}"
system "make install install_rdf"
system "make", "install", "install_rdf"
end

test do
Expand Down

0 comments on commit 52206ef

Please sign in to comment.