From tkato@prontomail.com  Tue May  6 07:35:08 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C4B0237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 May 2003 07:35:08 -0700 (PDT)
Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1910A43FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 May 2003 07:35:07 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([218.222.67.174]) by hfep03.dion.ne.jp with SMTP
          id <20030506143504842.QIBT@hfep03.dion.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Tue, 6 May 2003 23:35:04 +0900
Message-Id: <20030506233101.6ff3f816.tkato@prontomail.com>
Date: Tue, 6 May 2003 23:31:01 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: games/gnuchess to 5.06

>Number:         51856
>Category:       ports
>Synopsis:       Update port: games/gnuchess to 5.06
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 06 07:40:15 PDT 2003
>Closed-Date:    Sat May 10 01:04:25 PDT 2003
>Last-Modified:  Sat May 10 01:04:25 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 5.06

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/gnuchess/Makefile games/gnuchess/Makefile
--- /usr/ports/games/gnuchess/Makefile	Sat Apr 12 22:46:48 2003
+++ games/gnuchess/Makefile	Tue May  6 22:55:35 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gnuchess
-PORTVERSION=	5.05
+PORTVERSION=	5.06
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	chess
@@ -14,7 +14,13 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	"Classic" Gnu Chess
 
-WRKSRC=	${WRKDIR}/chess
+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
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gnuchess/distinfo games/gnuchess/distinfo
--- /usr/ports/games/gnuchess/distinfo	Thu Jan  9 18:56:23 2003
+++ games/gnuchess/distinfo	Tue May  6 19:31:24 2003
@@ -1 +1 @@
-MD5 (gnuchess-5.05.tar.gz) = 008820142c414517512ab0ad3e036c8b
+MD5 (gnuchess-5.06.tar.gz) = 9b25c80bef39e6ab24088dcfdea7d845
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Sat May 10 01:03:09 PDT 2003 
State-Changed-Why:  
Committed, with a typo fix in the REINPLACE_CMD.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51856 
>Unformatted:
