summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-10 08:03:01 +0000
committeranholt <anholt@FreeBSD.org>2003-05-10 08:03:01 +0000
commit7b8b263dd308cd0d51ea6812192172db13fefc2f (patch)
treed8072769e60514ae3b9a2702dde845bb15da29c8
parent223c4a2ae90d2179c2fca40ac3570fd9c0996aa3 (diff)
downloadFreeBSD-ports-7b8b263dd308cd0d51ea6812192172db13fefc2f.zip
FreeBSD-ports-7b8b263dd308cd0d51ea6812192172db13fefc2f.tar.gz
Update to 5.06.
PR: ports/51856 Submitted by: Ports Fury
-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 e845be3..ccbe41d 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 a0807b3..b9f5ac1 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
OpenPOWER on IntegriCloud