summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/openscenegraph.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 042a090..57310ba 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ CHECK_PKG_ARCHIVE = \
DOWNLOAD_PKG_ARCHIVE = \
mkdir -p '$(PKG_DIR)' && \
$(if $($(1)_URL_2), \
- ( wget -T 30 -O- '$($(1)_URL)' || wget -O- '$($(1)_URL_2)' ), \
+ ( wget -T 30 -t 3 -O- '$($(1)_URL)' || wget -O- '$($(1)_URL_2)' ), \
wget -O- '$($(1)_URL)') \
$(if $($(1)_FIX_GZIP), \
| gzip -d | gzip -9n, \
diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk
index 4de1abf..40171d5 100644
--- a/src/openscenegraph.mk
+++ b/src/openscenegraph.mk
@@ -10,6 +10,7 @@ $(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION)
$(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip
$(PKG)_WEBSITE := http://www.openscenegraph.org/
$(PKG)_URL := http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$($(PKG)_VERSION)/source/$($(PKG)_FILE)
+$(PKG)_URL_2 := http://distfiles.macports.org/OpenSceneGraph/$($(PKG)_FILE)
$(PKG)_DEPS := gcc curl ffmpeg freetype gdal giflib jasper jpeg libpng openexr tiff xine-lib zlib
define $(PKG)_UPDATE