ports/51856: Update port: games/gnuchess to 5.06

KATO Tsuguru tkato at prontomail.com
Tue May 6 14:40:36 UTC 2003


>Number:         51856
>Category:       ports
>Synopsis:       Update port: games/gnuchess to 5.06
>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:   Tue May 06 07:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list