Bug 186710 - [PATCH] games/smashbattle: don't silence warnings
Summary: [PATCH] games/smashbattle: don't silence warnings
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 02:20 UTC by Dmitry Marakasov
Modified: 2014-02-13 13:10 UTC (History)
1 user (show)

See Also:


Attachments
smashbattle-110224_1.patch (818 bytes, patch)
2014-02-13 02:20 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-02-13 02:20:00 UTC
- Don't silence warnings
- Whitespace fix

Port maintainer (nemysis@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-13 02:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Rusmir Dusko freebsd_committer freebsd_triage 2014-02-13 12:34:19 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-13 13:00:44 UTC
Author: nemysis
Date: Thu Feb 13 13:00:37 2014
New Revision: 344093
URL: http://svnweb.freebsd.org/changeset/ports/344093
QAT: https://qat.redports.org/buildarchive/r344093/

Log:
  - Simplify REINPLACE, don't silence warnings
  - Use tabulator instead of whitespace
  
  PR:		ports/186710
  Submitted by:	amdmi3@

Modified:
  head/games/smashbattle/Makefile

Modified: head/games/smashbattle/Makefile
==============================================================================
--- head/games/smashbattle/Makefile	Thu Feb 13 12:17:12 2014	(r344092)
+++ head/games/smashbattle/Makefile	Thu Feb 13 13:00:37 2014	(r344093)
@@ -16,7 +16,7 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/battle/Ba
 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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"