utilize USE_GETOPT_LONG
PR: 51852 Submitted by: Ports Fury
This commit is contained in:
parent
429f218b03
commit
62d5dab90d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80768
1 changed files with 8 additions and 5 deletions
|
@ -14,16 +14,19 @@ MAINTAINER= ports@FreeBSD.org
|
|||
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 \
|
||||
${WRKSRC}/src/SoundMixer.h
|
||||
|
|
Loading…
Reference in a new issue