From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 02:07:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BF8E16A4CE for ; Sun, 9 Jan 2005 02:07:21 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id F02AC43D46 for ; Sun, 9 Jan 2005 02:07:20 +0000 (GMT) (envelope-from rsh.lists@comcast.net) Received: from [192.168.1.11] (tardiss.ne.client2.attbi.com[66.30.82.93]) by comcast.net (rwcrmhc13) with ESMTP id <2005010902072001500n9hege>; Sun, 9 Jan 2005 02:07:20 +0000 Message-ID: <41E091B3.4070809@comcast.net> Date: Sat, 08 Jan 2005 21:06:43 -0500 From: Sean User-Agent: Mozilla Thunderbird 1.0 (X11/20050106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Myles Landwehr References: <41E04ECA.80508@comcast.net> <41E07158.2010205@snaphat.com> In-Reply-To: <41E07158.2010205@snaphat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Makefile correction? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rsh.lists@comcast.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2005 02:07:21 -0000 Aaron Myles Landwehr wrote: > Sean wrote: > >> Hello All, >> >> I am trying to install gnuchess but when I start the build process >> it errors out as follows. >> >> ---------------------------------------- >> tardis# make install clean >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for gnuchess-5.07 >> ===> Extracting for gnuchess-5.07 >> => Checksum OK for book_1.01.pgn.gz. >> /usr/ports/distfiles//gnuchess-5.07.tar.gz: No such file or directory >> tar: Error opening archive: Empty input file: Inappropriate file type >> or format >> *** Error code 1 >> >> Stop in /usr/ports/games/gnuchess. >> ---------------------------------------- > > > Hello, I attempted to install the port and recieved the same error as > you. The current makefile does not grab the gnuchess.tar.gz, whenever > WITH_OPENING_BOOK is specified, because EXTRACT_ONLY is misplaced > underneathe of that section. Comment out that EXTRACT_ONLY line and > underneathe the MASTER_SITE_SUBDIR line add the following two lines: > > DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} > EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} > > I suppose someone should submit a patch for this... > -Aaron Myles Landwehr > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Thanks Aaron, That did the trick. Questions however. The DISTFILES= statement you added is obviously different from the DISTFILES+= in the (WITH_OPENING_BOOK) section. Does the + symbol just mean in addition to the main file? I am guessing if I am correct in the + comment above that an 'EXTRACT_ONLY" statement is not needed because it is an additional file to the main? Looking at another Makefile, the gcompris2 one to be exact, I do not see an EXTRACT_ONLY line. I looked at two others and they also do not have an EXTRACT_ONLY line. This statement is only needed in certain circumstances, or there is more then one way to do the same thing? Thanks Sean