diff options
| author | Chilledheart | 2014-06-02 18:11:58 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-06-02 08:28:55 -0700 |
| commit | 3d4a4a69f1da688ff34db8fcfeb2adb65588dccd (patch) | |
| tree | e58ffe88874f4233e66f86f22caf7cc0b6dcc595 | |
| parent | b262da5ad91c749bc7d2257ba51804e5e10f729b (diff) | |
| download | homebrew-3d4a4a69f1da688ff34db8fcfeb2adb65588dccd.tar.bz2 | |
dmd: download additional resources before compiling
Closes #29766.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/dmd.rb | 5 |
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 |
