ports/70167: Update port: games/phalanx
KATO Tsuguru
tkato432 at yahoo.com
Sun Aug 8 14:10:28 UTC 2004
>Number: 70167
>Category: ports
>Synopsis: Update port: games/phalanx
>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: Sun Aug 08 14:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on -current after gcc 3.4 import
- Support PLIST_FILES
New file:
files/patch-io.c
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/phalanx/Makefile games/phalanx/Makefile
--- /usr/ports/games/phalanx/Makefile Wed Feb 4 18:58:49 2004
+++ games/phalanx/Makefile Thu Aug 5 20:59:44 2004
@@ -23,6 +23,10 @@
ALL_TARGET= # empty
MAKEFILE= makefile
+PORTDOCS= README
+PLIST_FILES= bin/phalanx %%DATADIR%%/pbook.phalanx %%DATADIR%%/sbook.phalanx
+PLIST_DIRS= %%DATADIR%%
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin
@${MKDIR} ${DATADIR}
diff -urN /usr/ports/games/phalanx/files/patch-io.c games/phalanx/files/patch-io.c
--- /usr/ports/games/phalanx/files/patch-io.c Thu Jan 1 09:00:00 1970
+++ games/phalanx/files/patch-io.c Fri Aug 6 17:50:24 2004
@@ -0,0 +1,11 @@
+--- io.c.orig Sat Jan 8 23:36:29 2000
++++ io.c Thu Aug 5 20:57:30 2004
+@@ -894,7 +894,7 @@
+ { case 0: puts("off"); break;
+ case 1: puts("on"); break;
+ case 2: puts("on (pondering)"); break;
+- default:
++ default: ;
+ }
+
+ printf(" Transposition table ... ");
diff -urN /usr/ports/games/phalanx/pkg-plist games/phalanx/pkg-plist
--- /usr/ports/games/phalanx/pkg-plist Mon Dec 24 11:15:02 2001
+++ games/phalanx/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1,6 +0,0 @@
-bin/phalanx
-%%PORTDOCS%%share/doc/phalanx/README
-share/phalanx/pbook.phalanx
-share/phalanx/sbook.phalanx
-%%PORTDOCS%%@dirrm share/doc/phalanx
- at dirrm share/phalanx
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list