ports/51852: Update port: games/afternoonstalker

KATO Tsuguru tkato at prontomail.com
Tue May 6 14:40:25 UTC 2003


>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 at SDL/@SDL11/@g" ${WRKSRC}/configure \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list