aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorOliver Schrenk2013-07-23 18:41:43 +0200
committerAdam Vandenberg2013-07-24 09:03:04 -0700
commit8c4959153e503f3397efd7812718d1d4631202e1 (patch)
tree093b96ac1b99b43abd7129b0dd6b31e944a7a6f0 /Library
parent868efe5f36988e1a380138db4ff711dca4566482 (diff)
downloadhomebrew-8c4959153e503f3397efd7812718d1d4631202e1.tar.bz2
Multimarkdown 4.2
Closes #21407. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/multimarkdown.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/Library/Formula/multimarkdown.rb b/Library/Formula/multimarkdown.rb
index dbe918096..5784752df 100644
--- a/Library/Formula/multimarkdown.rb
+++ b/Library/Formula/multimarkdown.rb
@@ -4,19 +4,15 @@ class Multimarkdown < Formula
homepage 'http://fletcherpenney.net/multimarkdown/'
# Use the tag instead of the tarball to get submodules
- url 'https://github.com/fletcher/peg-multimarkdown.git', :tag => '3.7'
+ url 'https://github.com/fletcher/MultiMarkdown-4.git', :tag => '4.2'
- head 'https://github.com/fletcher/peg-multimarkdown.git', :branch => 'development'
+ head 'https://github.com/fletcher/MultiMarkdown-4.git', :branch => 'master'
def install
- # Since we want to use our CFLAGS, we need to add the following:
- ENV.append_to_cflags '-include GLibFacade.h'
- ENV.append_to_cflags '-D MD_USE_GET_OPT=1'
- ENV.append_to_cflags '-I..'
- system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
+ ENV.append 'CFLAGS', '-g -O3 -include GLibFacade.h'
+ system "make"
bin.install 'multimarkdown'
bin.install Dir['scripts/*']
- # The support stuff will be put into the Cellar only
prefix.install 'Support'
end