Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 11:02:05 -0600 (CST)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76359: Maintainer update: games/gnuchess
Message-ID:  <200501171702.j0HH25Y4023206@dolphin.local.net>
Resent-Message-ID: <200501171710.j0HHAJef025429@freefall.freebsd.org>

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

>Number:         76359
>Category:       ports
>Synopsis:       Maintainer update: games/gnuchess
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 17:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
none
>Environment:
System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Tue Jan 11 01:03:24 CST 2005 root@dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64

>Description:
	Correct a problem with the fetching of the port's distfiles.
	See the comment in the attached diff for description of a possible
	bug in the ports' make system.
>How-To-Repeat:
	Attempting to build with the existing Makefile fails to fetch the 
	source distfile, regardless of whether WITH_OPENING_BOOK is on or 
	off.
>Fix:
	Apply the following patch:

--- gnuchess.diff begins here ---
diff -u -r --exclude=CVS --exclude=README.html /usr/ports/games/gnuchess/Makefile /root/gnuchess/Makefile
--- /usr/ports/games/gnuchess/Makefile	Mon Jan 17 10:53:38 2005
+++ /root/gnuchess/Makefile	Mon Jan 17 10:52:20 2005
@@ -11,6 +11,13 @@
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	chess
 
+# Note: there seems to be a bug in the ports' make system's handling of
+# the DISTFILES+= line later in the Makefile.  Unless we explicitly
+# declare the base DISTFILES list first (i.e., the source package),
+# it won't be fetched
+
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
 MAINTAINER=	conrads@cox.net
 COMMENT=	"Classic" Gnu Chess
 
@@ -23,7 +30,7 @@
 		README
 .endif
 
-OPTIONS=    OPENING_BOOK "Install opening book (24 MB download)" on
+OPTIONS=	OPENING_BOOK "Install opening book (24 MB download)" on
 
 .include <bsd.port.pre.mk>
 
--- gnuchess.diff ends here ---


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



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