Added ns-fullscreen patch for emacs formula if running with "--cocoa" flag
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
bdd8ab7296
commit
b227561541
1 changed files with 6 additions and 1 deletions
|
@ -5,12 +5,13 @@ require 'formula'
|
|||
class Emacs <Formula
|
||||
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.2.tar.bz2'
|
||||
md5 '057a0379f2f6b85fb114d8c723c79ce2'
|
||||
homepage 'http://www.gnu.org/software/emacs/'
|
||||
|
||||
if ARGV.include? "--use-git-head"
|
||||
head 'git://repo.or.cz/emacs.git'
|
||||
else
|
||||
head 'bzr://http://bzr.savannah.gnu.org/r/emacs/trunk'
|
||||
end
|
||||
homepage 'http://www.gnu.org/software/emacs/'
|
||||
|
||||
def options
|
||||
[
|
||||
|
@ -20,6 +21,10 @@ class Emacs <Formula
|
|||
]
|
||||
end
|
||||
|
||||
def patches
|
||||
"http://github.com/downloads/typester/emacs/feature-fullscreen.patch" if ARGV.include? "--cocoa"
|
||||
end
|
||||
|
||||
def caveats
|
||||
s = ""
|
||||
if ARGV.include? "--cocoa"
|
||||
|
|
Loading…
Reference in a new issue