Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Apr 2005 14:32:48 +1000 (EST)
From:      Sam Lawrance <boris@brooknet.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/79583: [PATCH] emulators/xzx: fix unfetchable
Message-ID:  <20050406043248.5985C283@localhost>
Resent-Message-ID: <200504060440.j364eAbc023278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79583
>Category:       ports
>Synopsis:       [PATCH] emulators/xzx: fix unfetchable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 06 04:40:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar  6 12:44:50 EST
>Description:
distfile disappeared from MASTER_SITE_LOCAL

>How-To-Repeat:
>Fix:
Rather than mirror the distfile on MASTER_SITE_LOCAL (where it has
disappeared from occasionally), set FETCH_CMD minus the -A flag
allowing fetch to follow the redirects and get the file.

--- xzx-4.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/emulators/xzx/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	23 Jul 2004 19:10:09 -0000	1.41
+++ Makefile	6 Apr 2005 03:55:19 -0000
@@ -8,12 +8,7 @@
 PORTNAME=	xzx
 PORTVERSION=	4.4
 CATEGORIES=	emulators
-# I don't maintain this port anymore, but I'm happy to track the distfiles, as
-# it's difficult to fetch(1) them from the WWW site. If you are updating this
-# port, shoot me an email if you want me to add the new distfile to
-# MASTER_SITE_LOCAL  -- adamw@
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	adamw
+MASTER_SITES=	http://www.zx-spectrum.net/xzx/files/
 DISTNAME=	${PORTNAME}-pro-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -22,6 +17,8 @@
 # xmkmf is used in configure script; USE_IMAKE makes the build unhappy
 BUILD_DEPENDS=	xmkmf:${X_IMAKE_PORT}
 
+# server redirects to distfile; won't work with -A
+FETCH_CMD=	/usr/bin/fetch -Rr
 USE_MOTIF=	yes
 USE_X_PREFIX=	yes
 USE_REINPLACE=	yes
--- xzx-4.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406043248.5985C283>