From owner-freebsd-questions@FreeBSD.ORG Sat Jan 8 21:21:52 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 774D116A4CE for ; Sat, 8 Jan 2005 21:21:52 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 427E943D45 for ; Sat, 8 Jan 2005 21:21:52 +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 (rwcrmhc12) with ESMTP id <2005010821215101400gh0oae>; Sat, 8 Jan 2005 21:21:51 +0000 Message-ID: <41E04ECA.80508@comcast.net> Date: Sat, 08 Jan 2005 16:21:14 -0500 From: Sean User-Agent: Mozilla Thunderbird 1.0 (X11/20050106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Sat, 08 Jan 2005 21:21:52 -0000 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. ---------------------------------------- From what I make of this it looks like there is an extra / in the path to the distfile location. I am trying to correct the Makefile, I figure this is where it would be, and cannot figure out what to change to correct this. Can anyone help? Thanks Sean ---------------------------------------- Makefile below. tardis# more Makefile # New ports collection makefile for: Gnu Chess # Date created: 04 July 1996 # Whom: markm # # $FreeBSD: ports/games/gnuchess/Makefile,v 1.20 2004/12/28 23:19:42 edwin Exp $ # PORTNAME= gnuchess PORTVERSION= 5.07 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= chess MAINTAINER= conrads@cox.net COMMENT= "Classic" Gnu Chess PLIST_FILES= bin/gnuchess \ bin/gnuchessx .if !defined(NOPORTDOCS) PORTDOCS= ChangeLog \ NEWS \ README .endif OPTIONS= OPENING_BOOK "Install opening book (24 MB download)" on .include .if defined(WITH_OPENING_BOOK) DISTFILES+= book_1.01.pgn.gz PLIST_DIRS+= %%DATADIR%% PLIST_FILES+= %%DATADIR%%/book.dat EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} .endif USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}" post-patch: @${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS:S/"//g}|g ; \ s|-pthread ||g' ${WRKSRC}/configure pre-install: .if defined(WITH_OPENING_BOOK) @${SH} ${SCRIPTDIR}/create_opening_book.sh ${DISTDIR} ${WRKSRC} .endif post-install: ${LN} -f ${PREFIX}/bin/gnuchess ${PREFIX}/bin/gnuchessx .if defined(WITH_OPENING_BOOK) @${ECHO_CMD} Installing opening book ${MKDIR} ${DATADIR} && \ ${CP} ${WRKSRC}/src/book.dat ${DATADIR} .endif .if !defined(NOPORTDOCS) @${ECHO_CMD} Installing documentation ${MKDIR} ${DOCSDIR} && \ ${CP} ${WRKSRC}/NEWS ${DOCSDIR} && \ ${CP} ${WRKSRC}/doc/* ${DOCSDIR} .endif .include