From 9eab82380cc8d24172ce1f73aa107ff568154404 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 10 May 2003 08:03:01 +0000 Subject: Update to 5.06. PR: ports/51856 Submitted by: Ports Fury --- games/gnuchess/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'games/gnuchess/Makefile') diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile index e845be3a7fac..ccbe41dab7c1 100644 --- a/games/gnuchess/Makefile +++ b/games/gnuchess/Makefile @@ -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 @@ MASTER_SITE_SUBDIR= chess 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 -- cgit v1.2.3