aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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