aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xd3d
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xd3d')
-rw-r--r--graphics/xd3d/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/xd3d/Makefile b/graphics/xd3d/Makefile
index 7a385ac74adb..97f678d4becd 100644
--- a/graphics/xd3d/Makefile
+++ b/graphics/xd3d/Makefile
@@ -35,6 +35,8 @@ RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= gifsicle:${PORTSDIR}/graphics/gifsicle
.endif
+MASTER_SITES_BACKUP= http://pompo.net/ports/
+
USE_XLIB= yes
REINPLACE_ARGS= -i ""
FETCH_CMD= /usr/bin/fetch
@@ -66,7 +68,8 @@ CFLAGS+= -malign-double
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
- ${MASTER_SITES}download.php?file=${DISTFILES}
+ ${MASTER_SITES}download.php?file=${DISTFILES} \
+ || ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${MASTER_SITES_BACKUP}${DISTFILES}
.endif
post-patch: