diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-02-13 21:00:37 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-02-13 21:00:37 +0800 |
commit | 6a5a5971f2651966f500c10cba19b9ebfafea9b5 (patch) | |
tree | 0459e79b5c3c80d8604f82e8635081a2b0dbf02d /games | |
parent | 5e0899a616a2065f288664c06a864be669de1c43 (diff) | |
download | freebsd-ports-gnome-6a5a5971f2651966f500c10cba19b9ebfafea9b5.tar.gz freebsd-ports-gnome-6a5a5971f2651966f500c10cba19b9ebfafea9b5.tar.zst freebsd-ports-gnome-6a5a5971f2651966f500c10cba19b9ebfafea9b5.zip |
- Simplify REINPLACE, don't silence warnings
- Use tabulator instead of whitespace
PR: ports/186710
Submitted by: amdmi3@
Diffstat (limited to 'games')
-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 |