aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChilledheart2014-06-02 18:11:58 +0800
committerAdam Vandenberg2014-06-02 08:28:55 -0700
commit3d4a4a69f1da688ff34db8fcfeb2adb65588dccd (patch)
treee58ffe88874f4233e66f86f22caf7cc0b6dcc595 /Library
parentb262da5ad91c749bc7d2257ba51804e5e10f729b (diff)
downloadhomebrew-3d4a4a69f1da688ff34db8fcfeb2adb65588dccd.tar.bz2
dmd: download additional resources before compiling
Closes #29766. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dmd.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/dmd.rb b/Library/Formula/dmd.rb
index 98b0e4107..6d9223fbe 100644
--- a/Library/Formula/dmd.rb
+++ b/Library/Formula/dmd.rb
@@ -40,13 +40,12 @@ class Dmd < Formula
make_args.unshift "DMD=#{bin}/dmd"
+ (buildpath/'druntime').install resource('druntime')
+ (buildpath/'phobos').install resource('phobos')
system "make", "-C", "druntime", "install", *make_args
system "make", "-C", "phobos", "install", "VERSION=#{buildpath}/VERSION", *make_args
- (buildpath/'druntime').install resource('druntime')
- (buildpath/'phobos').install resource('phobos')
-
resource('tools').stage do
inreplace 'posix.mak', 'install: $(TOOLS) $(CURL_TOOLS)', 'install: $(TOOLS)'
system "make", "install", *make_args