Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 23:30:20 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51852: Update port: games/afternoonstalker
Message-ID:  <20030506233020.34a7f154.tkato@prontomail.com>
Resent-Message-ID: <200305061440.h46EeEo7011848@freefall.freebsd.org>

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

>Number:         51852
>Category:       ports
>Synopsis:       Update port: games/afternoonstalker
>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:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/afternoonstalker/Makefile games/afternoonstalker/Makefile
--- /usr/ports/games/afternoonstalker/Makefile	Sat Feb 15 23:03:35 2003
+++ games/afternoonstalker/Makefile	Sat May  3 21:35:55 2003
@@ -14,15 +14,18 @@
 COMMENT=	A clone of the 1981 Night Stalker video game
 
 LIB_DEPENDS=	gengameng.4:${PORTSDIR}/devel/gengameng \
-		SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
-		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+		SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
 
+USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	CXX="${CXX} -I${LOCALBASE}/include" \
-		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
-CONFIGURE_TARGET=	# none
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
 MAN6=		afternoonstalker.6
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
 
 post-patch:
 	${REINPLACE_CMD} "s@SDL/@SDL11/@g" ${WRKSRC}/configure \
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506233020.34a7f154.tkato>