1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix the build after scandir(3) interface was changed.

This commit is contained in:
Alexey Dokuchaev 2010-03-14 11:53:03 +00:00
parent 9b8643568c
commit 5113d82ff9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251035

View File

@ -41,10 +41,6 @@ OPTIONS= GAME "Build the main game .so file" off \
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800501
BROKEN= does not build
.endif
.if !defined(WITHOUT_GAME)
PLIST_SUB+= GAME=""
Q2GAMES+= baseq2
@ -88,7 +84,6 @@ post-patch: .SILENT
${REINPLACE_CMD} -E 's,^(eval PKGDATADIR=).*$$,\1"${Q2DIR}", ; \
19752s,sdl-config,${SDL_CONFIG}, ; \
s,^(GAME_MODULES=")baseq2",\1",' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,const struct,struct,' ${WRKSRC}/src/files.c
${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/src/Makefile.in
do-install: