aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-03-31 04:40:42 +0800
committerthierry <thierry@FreeBSD.org>2007-03-31 04:40:42 +0800
commite171c0c4745f4c162fff81144ce61c1eb2e74f93 (patch)
treeec59ee614f52f4de7dd6aef5f949ad6c1a6368e3
parent7d7e3c82293ff89d121f37c382670469c2968d3f (diff)
downloadfreebsd-ports-gnome-e171c0c4745f4c162fff81144ce61c1eb2e74f93.tar.gz
freebsd-ports-gnome-e171c0c4745f4c162fff81144ce61c1eb2e74f93.tar.zst
freebsd-ports-gnome-e171c0c4745f4c162fff81144ce61c1eb2e74f93.zip
Add a mirror.
Suggested by: kris
-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: