aboutsummaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-10 08:03:01 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-10 08:03:01 +0000
commit9eab82380cc8d24172ce1f73aa107ff568154404 (patch)
tree34c75a932af05b64a0fda721a5668131b2abbdb3 /games/gnuchess
parenta57acf0086ca1589b0c87b1de8051a6f9f599273 (diff)
downloadports-9eab82380cc8d24172ce1f73aa107ff568154404.tar.gz
ports-9eab82380cc8d24172ce1f73aa107ff568154404.zip
Notes
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/Makefile10
-rw-r--r--games/gnuchess/distinfo2
2 files changed, 9 insertions, 3 deletions
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 <bsd.port.mk>
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index a0807b3e35d6..b9f5ac138ced 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1 +1 @@
-MD5 (gnuchess-5.05.tar.gz) = 008820142c414517512ab0ad3e036c8b
+MD5 (gnuchess-5.06.tar.gz) = 9b25c80bef39e6ab24088dcfdea7d845 \ No newline at end of file