ports/51858: Update port: games/phalanx
KATO Tsuguru
tkato at prontomail.com
Tue May 6 14:40:39 UTC 2003
>Number: 51858
>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: Tue May 06 07:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/phalanx/Makefile games/phalanx/Makefile
--- /usr/ports/games/phalanx/Makefile Sat Apr 12 22:47:15 2003
+++ games/phalanx/Makefile Sat May 3 21:55:32 2003
@@ -14,10 +14,11 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Xboard-compatible chess playing program
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-
WRKSRC= ${WRKDIR}/Phalanx-XXII
+
+USE_GETOPT_LONG= yes
USE_GMAKE= yes
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
ALL_TARGET= # empty
MAKEFILE= makefile
diff -urN /usr/ports/games/phalanx/files/patch-aa games/phalanx/files/patch-aa
--- /usr/ports/games/phalanx/files/patch-aa Sun Apr 2 09:58:58 2000
+++ games/phalanx/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,23 +0,0 @@
---- makefile.orig Mon Jan 17 06:30:49 2000
-+++ makefile Thu Mar 30 01:42:40 2000
-@@ -1,9 +1,9 @@
-
--CC = gcc
-+CC ?= gcc
-
- ####### choose the line that makes the binary faster on your machine
- # CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops
--CFLAGS = -O -Wall -fomit-frame-pointer
-+CFLAGS += -I${LOCALBASE}/include
-
- ####### debug/tuning options for developers
- # CFLAGS = -O -Wall -g3 -static
-@@ -21,7 +21,7 @@
- ### -DQCAPSONLY
-
- DEFINES = -DGNUFUN
--LDFLAGS =
-+LDFLAGS = -L${LOCALBASE}/lib -lgnugetopt
-
- OBJ = .o/phalanx.o .o/bcreate.o .o/search.o .o/io.o .o/data.o \
- .o/evaluate.o .o/genmoves.o .o/moving.o .o/hash.o .o/static.o \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list