luarocks: use patch DSL

master
Jack Nagel 2014-03-19 12:07:57 -05:00
parent 4796c6395d
commit 472bbff2ba
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ class Luarocks < Formula
# appropriate messaging if not. The check that luarocks does has been
# seen to have false positives, so remove it.
# TODO: better document the false positive cases, or remove this patch.
def patches
DATA
end
patch :DATA
def install
# Install to the Cellar, but direct modules to HOMEBREW_PREFIX