aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-12-19 16:47:10 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-12-19 16:47:10 -0500
commit1466a5fc4e5c21eaadbbfc9cda8d9fb0f368f02b (patch)
tree190c850b5a2b783b0e3a367ada4235f4083c48cc
parentf6b2794cce4cf0107df468d4c0e3fd017b38a09b (diff)
Ensure wget uses the correct names when saving dependencies; src/Makefile
Some websites serve packages using strange URLs or have odd names that can confuse different versions of wget.
-rw-r--r--src/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 5e25c03e..2146947b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -438,7 +438,7 @@ pdcurses_zip = download
gtkosx_zip = gtkosx-2.24.16.zip
bombay_zip = bombay.zip
-$(scintilla_tgz): ; wget "http://prdownloads.sourceforge.net/scintilla/$@"
+$(scintilla_tgz): ; wget "http://prdownloads.sourceforge.net/scintilla/$@" -O $@
scintilla: scintilla.patch | $(scintilla_tgz)
mkdir $@ && tar xzf $| -C $@ && mv $@/*/* $@
patch -d $@ -N -p1 < $<
@@ -452,8 +452,9 @@ $(scintillua_zip):
LexLPeg.cxx: | ../lexers ; ln -s $|/$@ $@
$(lua_tgz): ; wget "http://www.lua.org/ftp/$@"
$(lpeg_tgz): ; wget "http://www.inf.puc-rio.br/~roberto/lpeg/$@"
-$(lfs_zip): ; wget "https://github.com/keplerproject/luafilesystem/archive/$@"
-$(lwinapi_zip): ; wget "https://github.com/stevedonovan/winapi/archive/$@"
+$(lfs_zip):
+ wget "https://github.com/keplerproject/luafilesystem/archive/$@" -O $@
+$(lwinapi_zip): ; wget "https://github.com/stevedonovan/winapi/archive/$@" -O $@
lua: lua.patch | $(lua_tgz)
mkdir $@ && tar xzf $| -C $@ && mv $@/*/* $@
patch -d $@ -N -p1 < $<