aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-02-14 16:32:24 -0500
committerJack Nagel2015-02-14 16:32:24 -0500
commit92819384f3714ec7f024e2eb1ca2473c3a19b7a2 (patch)
tree989bba5f4e31c12d73722aa58920aa393034b9bf
parent359e972d4a75182ace2557e94d1a586ae66e7ad7 (diff)
downloadhomebrew-92819384f3714ec7f024e2eb1ca2473c3a19b7a2.tar.bz2
Remove GIT_DIR hacks (stable)
-rw-r--r--Library/Formula/boot2docker.rb4
-rw-r--r--Library/Formula/camlistore.rb4
-rw-r--r--Library/Formula/carthage.rb6
-rw-r--r--Library/Formula/docker.rb3
-rw-r--r--Library/Formula/dub.rb3
-rw-r--r--Library/Formula/l-smash.rb3
-rw-r--r--Library/Formula/saltstack.rb3
-rw-r--r--Library/Formula/syncthing.rb1
-rw-r--r--Library/Formula/x264.rb3
9 files changed, 0 insertions, 30 deletions
diff --git a/Library/Formula/boot2docker.rb b/Library/Formula/boot2docker.rb
index c2cdc77e4..1385b3ceb 100644
--- a/Library/Formula/boot2docker.rb
+++ b/Library/Formula/boot2docker.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Boot2docker < Formula
homepage "https://github.com/boot2docker/boot2docker-cli"
# Boot2docker and docker are generally updated at the same time.
@@ -22,8 +20,6 @@ class Boot2docker < Formula
cd "src/github.com/boot2docker/boot2docker-cli" do
ENV["GOPATH"] = buildpath
system "go", "get", "-d"
-
- ENV["GIT_DIR"] = cached_download/".git"
system "make", "goinstall"
end
diff --git a/Library/Formula/camlistore.rb b/Library/Formula/camlistore.rb
index b15162e2d..16a8f2819 100644
--- a/Library/Formula/camlistore.rb
+++ b/Library/Formula/camlistore.rb
@@ -1,5 +1,3 @@
-require 'formula'
-
class Camlistore < Formula
homepage 'http://camlistore.org'
head 'https://camlistore.googlesource.com/camlistore', :using => :git
@@ -17,8 +15,6 @@ class Camlistore < Formula
depends_on 'sqlite'
def install
- ENV['GIT_DIR'] = cached_download+".git"
-
system "go", "run", "make.go"
prefix.install "bin/README"
prefix.install "bin"
diff --git a/Library/Formula/carthage.rb b/Library/Formula/carthage.rb
index 02742682f..7e55de19b 100644
--- a/Library/Formula/carthage.rb
+++ b/Library/Formula/carthage.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Carthage < Formula
homepage "https://github.com/Carthage/Carthage"
url "https://github.com/Carthage/Carthage.git", :tag => "0.6",
@@ -15,10 +13,6 @@ class Carthage < Formula
end
def install
- # Carthage likes to do stuff with submodules itself so we need a "real"
- # git clone rather than letting it play with our cache.
- cp_r cached_download/".git", "."
-
system "make", "prefix_install", "PREFIX=#{prefix}"
end
diff --git a/Library/Formula/docker.rb b/Library/Formula/docker.rb
index ea8834ff3..c0b12aa82 100644
--- a/Library/Formula/docker.rb
+++ b/Library/Formula/docker.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Docker < Formula
homepage "https://www.docker.com/"
# Boot2docker and docker are generally updated at the same time.
@@ -17,7 +15,6 @@ class Docker < Formula
depends_on "go" => :build
def install
- ENV["GIT_DIR"] = cached_download/".git"
ENV["AUTO_GOPATH"] = "1"
ENV["DOCKER_CLIENTONLY"] = "1"
diff --git a/Library/Formula/dub.rb b/Library/Formula/dub.rb
index 617bfdd5e..31b98311b 100644
--- a/Library/Formula/dub.rb
+++ b/Library/Formula/dub.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Dub < Formula
homepage "http://code.dlang.org/about"
url "https://github.com/D-Programming-Language/dub/archive/v0.9.22.tar.gz"
@@ -17,7 +15,6 @@ class Dub < Formula
depends_on "dmd" => :build
def install
- ENV["GIT_DIR"] = cached_download/".git"
system "./build.sh"
bin.install "bin/dub"
end
diff --git a/Library/Formula/l-smash.rb b/Library/Formula/l-smash.rb
index b96f64bd4..4f8f6779f 100644
--- a/Library/Formula/l-smash.rb
+++ b/Library/Formula/l-smash.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class LSmash < Formula
homepage "http://l-smash.github.io/l-smash/"
url "https://github.com/l-smash/l-smash.git", :tag => "v1.13.2", :shallow => false
@@ -13,7 +11,6 @@ class LSmash < Formula
end
def install
- ENV["GIT_DIR"] = cached_download/".git"
system "./configure", "--prefix=#{prefix}", "--enable-shared"
system "make", "install"
end
diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb
index 951741ce0..0b0185532 100644
--- a/Library/Formula/saltstack.rb
+++ b/Library/Formula/saltstack.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Saltstack < Formula
homepage "http://www.saltstack.org"
url "https://github.com/saltstack/salt/archive/v2014.7.1.tar.gz"
@@ -80,7 +78,6 @@ class Saltstack < Formula
end
end
- ln_s cached_download/".git", ".git"
system "python", "setup.py", "install", "--prefix=#{prefix}"
man1.install Dir["doc/man/*.1"]
diff --git a/Library/Formula/syncthing.rb b/Library/Formula/syncthing.rb
index 2afbb83bf..8623cda93 100644
--- a/Library/Formula/syncthing.rb
+++ b/Library/Formula/syncthing.rb
@@ -20,7 +20,6 @@ class Syncthing < Formula
rm_rf hack_dir
mkdir_p hack_dir
ln_s cached_download, "#{hack_dir}/syncthing"
- ENV["GIT_DIR"] = cached_download/".git"
system "./build.sh", "noupgrade"
bin.install "syncthing"
diff --git a/Library/Formula/x264.rb b/Library/Formula/x264.rb
index 29e5a2579..fbb4bc3e7 100644
--- a/Library/Formula/x264.rb
+++ b/Library/Formula/x264.rb
@@ -43,9 +43,6 @@ class X264 < Formula
end
args << "--bit-depth=10" if build.include? "10-bit"
- # For running version.sh correctly
- buildpath.install_symlink cached_download/".git"
-
system "./configure", *args
system "make", "install"
end