ports/79583: [PATCH] emulators/xzx: fix unfetchable

Sam Lawrance boris at brooknet.com.au
Wed Apr 6 04:40:11 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list