View | Details | Raw Unified | Return to bug 186710
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 16-22 Link Here
16
USE_ZIP=	yes
16
USE_ZIP=	yes
17
EXTRACT_AFTER_ARGS=	-d ${WRKDIR}/${DISTNAME}
17
EXTRACT_AFTER_ARGS=	-d ${WRKDIR}/${DISTNAME}
18
USES=		dos2unix gmake
18
USES=		dos2unix gmake
19
DOS2UNIX_FILES= *.cpp *.h Makefile
19
DOS2UNIX_FILES=	*.cpp *.h Makefile
20
USE_SDL=	sdl image mixer
20
USE_SDL=	sdl image mixer
21
ALL_TARGET=	battle
21
ALL_TARGET=	battle
22
22
Lines 28-34 Link Here
28
post-patch:
28
post-patch:
29
	@${REINPLACE_CMD} \
29
	@${REINPLACE_CMD} \
30
		-e 's|CC=|CC?=| ; \
30
		-e 's|CC=|CC?=| ; \
31
		s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -w| ; \
31
		s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -Wall| ; \
32
		s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \
32
		s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \
33
			${WRKSRC}/Makefile
33
			${WRKSRC}/Makefile
34
	@${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}| ; \
34
	@${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}| ; \

Return to bug 186710