Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 02:51:01 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/162857: Update port: games/freecell-solver
Message-ID:  <20111125025101.5f3b2a17.tkato432@yahoo.com>
Resent-Message-ID: <201111241830.pAOIUFjF067066@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162857
>Category:       ports
>Synopsis:       Update port: games/freecell-solver
>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:   Thu Nov 24 18:30:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support PTHREAD_LIBS properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/freecell-solver/Makefile games/freecell-solver/Makefile
--- /usr/ports/games/freecell-solver/Makefile	2011-11-14 16:25:13.000000000 +0900
+++ games/freecell-solver/Makefile	2011-11-15 02:17:15.000000000 +0900
@@ -10,7 +10,7 @@
 PORTVERSION=	3.8.0
 PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	BERLIOS/fc-solve
+MASTER_SITES=	http://fc-solve.shlomifish.org/downloads/fc-solve/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A program that automatically solves games of Freecell
@@ -18,11 +18,15 @@
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-USE_BZIP2=		yes
-USE_PERL5_BUILD=	yes
-USE_CMAKE=		yes
-USE_LDCONFIG=		yes
-MAKE_JOBS_SAFE=		yes
+OPTIONS=	TCMALLOC "Use Google's TCMalloc" off
+
+USE_BZIP2=	yes
+USE_PERL5_BUILD=yes
+USE_CMAKE=	yes
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
+
+CFLAGS+=	-I${LOCALBASE}/include
 
 MAN6=		fc-solve-board_gen.6 fc-solve.6 \
 		freecell-solver-range-parallel-solve.6 \
@@ -30,11 +34,7 @@
 		make_pysol_freecell_board.py.6 \
 		pi-make-microsoft-freecell-board.6
 
-CFLAGS+=	-I${LOCALBASE}/include
-
-OPTIONS=	TCMALLOC "Use Google's TCMalloc" off
-
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if defined(WITH_TCMALLOC)
 LIB_DEPENDS+=	tcmalloc.2:${PORTSDIR}/devel/google-perftools
@@ -43,6 +43,9 @@
 .endif
 
 post-patch:
+.for f in CMakeLists.txt
+	@${REINPLACE_CMD} -e 's|"pthread"|"${PTHREAD_LIBS}"|' ${WRKSRC}/${f}
+.endfor
 .for f in children-playing-ball.sh sentient-pearls.sh
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/Presets/presets/${f}
 .endfor
@@ -62,4 +65,4 @@
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/games/freecell-solver/pkg-descr games/freecell-solver/pkg-descr
--- /usr/ports/games/freecell-solver/pkg-descr	2011-08-09 23:29:05.000000000 +0900
+++ games/freecell-solver/pkg-descr	2011-11-13 15:57:38.000000000 +0900
@@ -1,4 +1,5 @@
-This is Freecell Solver - a program that automatically solves games of Freecell
-and similar Solitaire variants such as Eight Off, Forecell and Seahaven Towers. 
+This is Freecell Solver - a program that automatically solves games of
+Freecell and similar Solitaire variants such as Eight Off, Forecell and
+Seahaven Towers. 
 
-WWW: http://fc-solve.berlios.de/
+WWW: http://fc-solve.shlomifish.org/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111125025101.5f3b2a17.tkato432>