aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDrew Wells2014-12-12 17:35:26 -0600
committerMisty De Meo2014-12-12 16:28:11 -0800
commitd243310d18adafe198652c2820831149cb4e4e13 (patch)
treeed465a59e48b41043ed53e5bb45e6d6e6c68725e /Library
parent99dd2f5a1037430ca3e806f2389859328fb69f1c (diff)
downloadhomebrew-d243310d18adafe198652c2820831149cb4e4e13.tar.bz2
add head option for libsass
Closes #34939. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libsass.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/libsass.rb b/Library/Formula/libsass.rb
index 6619785ee..76fa8edea 100644
--- a/Library/Formula/libsass.rb
+++ b/Library/Formula/libsass.rb
@@ -4,6 +4,7 @@ class Libsass < Formula
homepage "https://github.com/sass/libsass"
url "https://github.com/sass/libsass/archive/3.0.2.tar.gz"
sha1 "415e4377ec73fcf0bd7af949d65f7ca730be1e5c"
+ head "https://github.com/sass/libsass.git"
bottle do
cellar :any
@@ -19,6 +20,7 @@ class Libsass < Formula
def install
ENV.cxx11
+ ENV["LIBSASS_VERSION"] = "HEAD" if build.head?
system "autoreconf", "-fvi"
system "./configure", "--prefix=#{prefix}", "--disable-silent-rules",
"--disable-dependency-tracking"