diff options
-rw-r--r-- | games/smashbattle/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/games/smashbattle/Makefile b/games/smashbattle/Makefile index 72e4171c23a5..b9e716c9826e 100644 --- a/games/smashbattle/Makefile +++ b/games/smashbattle/Makefile @@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/battle/Battle USE_ZIP= yes EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} USES= dos2unix gmake -DOS2UNIX_FILES= *.cpp *.h Makefile +DOS2UNIX_FILES= *.cpp *.h Makefile USE_SDL= sdl image mixer ALL_TARGET= battle @@ -26,12 +26,11 @@ pre-extract: SUB_FILES= ${PORTNAME} post-patch: - @${REINPLACE_CMD} \ - -e 's|CC=|CC?=| ; \ - s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -w| ; \ + @${REINPLACE_CMD} -e 's|CC=|CC?=|; \ + s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -Wall|; \ s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}| ; \ + @${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}|; \ s|/usr/local/bin/smashbattle|${PORTNAME}|' \ ${WRKSRC}/linux/*.desktop |