ports/53253: fix ports/games/asc and take over maintainership
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Thu Jun 12 15:10:13 UTC 2003
>Number: 53253
>Category: ports
>Synopsis: fix ports/games/asc and take over maintainership
>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 Jun 12 08:10:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Chen
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
yinjieh's lab
>Environment:
System: FreeBSD stable.yinjieh.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Fix ports/games/asc and take over maintainership.
Both compiled and tested on 4.8-RELEASE and 5.1-RELEASE.
The patch is as follows:
>How-To-Repeat:
N/A
>Fix:
--- asc.patch begins here ---
diff -ruN /usr/ports/games/asc/Makefile /tmp/asc/Makefile
--- /usr/ports/games/asc/Makefile Sun Jun 1 21:25:00 2003
+++ /tmp/asc/Makefile Thu Jun 12 13:09:15 2003
@@ -12,12 +12,11 @@
MASTER_SITE_SUBDIR= asc-hq
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= yinjieh at csie.nctu.edu.tw
COMMENT= A turn based, multiplayer strategic game with very nice graphics
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
SDLmm.8:${PORTSDIR}/devel/sdlmm \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
paragui.3:${PORTSDIR}/x11-toolkits/paragui
@@ -32,9 +31,12 @@
USE_GMAKE= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
+USE_GETOPT_LONG= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
LIBS="`${SDL_CONFIG} --libs` -lgnugetopt -lm"
+
+CONFIGURE_ARGS= --disable-paraguitest
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
diff -ruN /usr/ports/games/asc/files/patch-configure /tmp/asc/files/patch-configure
--- /usr/ports/games/asc/files/patch-configure Sun Jun 1 21:25:00 2003
+++ /tmp/asc/files/patch-configure Thu Jun 12 11:22:25 2003
@@ -1,8 +1,5 @@
-
-$FreeBSD: ports/games/asc/files/patch-configure,v 1.7 2003/06/01 13:25:00 sobomax Exp $
-
---- configure.orig Sun Jun 1 16:23:11 2003
-+++ configure Sun Jun 1 16:23:24 2003
+--- configure.orig Thu Jun 12 10:13:34 2003
++++ configure Thu Jun 12 10:15:34 2003
@@ -7381,6 +7381,7 @@
# This can be used to rebuild libtool when needed
@@ -20,3 +17,11 @@
game_datadir=`(
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
+@@ -11178,6 +11179,7 @@
+ cat conftest.$ac_ext >&5
+ Unicode_broken=yes
+ fi
++Unicode_broken=yes
+ rm -f conftest.$ac_objext conftest.$ac_ext
+
+ if test "x$Unicode_broken" = x ; then
diff -ruN /usr/ports/games/asc/pkg-descr /tmp/asc/pkg-descr
--- /usr/ports/games/asc/pkg-descr Sun Feb 18 05:51:30 2001
+++ /tmp/asc/pkg-descr Thu Jun 12 11:41:57 2003
@@ -1,4 +1,7 @@
Advanced Strategic Command (ASC) - a turn-based, multiplayer network game
-with nice proffesional-looking graphics.
+with nice professional-looking graphics.
WWW: http://www.asc-hq.org/
+
+Ying-Chieh Chen
+yinjieh at csie.nctu.edu.tw
--- asc.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list