Date: Sun, 16 Mar 2014 16:53:03 GMT From: Jesse <jessefrgsmith@yahoo.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187636: Port update: games/atanks Message-ID: <201403161653.s2GGr3rp049491@cgiserv.freebsd.org> Resent-Message-ID: <201403161700.s2GH03KM094911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187636 >Category: ports >Synopsis: Port update: games/atanks >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 16 17:00:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jesse >Release: FreeBSD 10.0 amd64 >Organization: RM >Environment: >Description: The attached patch fixes build errors on FreeBSD 10.0 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN /usr/ports/games/atanks/files/patch-Makefile atanks/files/patch-Makefile --- /usr/ports/games/atanks/files/patch-Makefile 2014-01-22 21:06:15.000000000 -0400 +++ atanks/files/patch-Makefile 2014-03-16 13:48:24.060616934 -0300 @@ -1,6 +1,12 @@ ---- Makefile.orig 2010-06-10 10:03:35.000000000 -0300 -+++ Makefile 2010-06-10 11:00:00.000000000 -0300 -@@ -16,7 +16,7 @@ +--- ./Makefile.orig 2011-06-30 20:35:07.000000000 -0300 ++++ ./Makefile 2014-03-16 13:47:44.469102752 -0300 +@@ -11,16 +11,16 @@ + export INSTALLDIR + + FILENAME=atanks-${VERSION} +-INSTALL=$(PREFIX)bin/install -c ++INSTALL=install + DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO atanks/Changelog atanks/BUGS atanks/*.txt INCOMMON=COPYING README TODO Changelog *.txt unicode.dat all: @@ -9,3 +15,35 @@ install: mkdir -p ${BINDIR} +- $(INSTALL) -g 0 -m 755 -o 0 atanks ${BINDIR} ++ $(INSTALL) -g 0 -m555 -s -o 0 atanks ${BINDIR} + mkdir -p ${INSTALLDIR} + mkdir -p ${INSTALLDIR}/button + mkdir -p ${INSTALLDIR}/misc +@@ -31,16 +31,16 @@ + mkdir -p ${INSTALLDIR}/tankgun + mkdir -p ${INSTALLDIR}/title + mkdir -p ${INSTALLDIR}/text +- $(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) ${INSTALLDIR} +- $(INSTALL) -g 0 -m 644 -o 0 button/* ${INSTALLDIR}/button +- $(INSTALL) -g 0 -m 644 -o 0 misc/* ${INSTALLDIR}/misc +- $(INSTALL) -g 0 -m 644 -o 0 missile/* ${INSTALLDIR}/missile +- $(INSTALL) -g 0 -m 644 -o 0 sound/* ${INSTALLDIR}/sound +- $(INSTALL) -g 0 -m 644 -o 0 stock/* ${INSTALLDIR}/stock +- $(INSTALL) -g 0 -m 644 -o 0 tank/* ${INSTALLDIR}/tank +- $(INSTALL) -g 0 -m 644 -o 0 tankgun/* ${INSTALLDIR}/tankgun +- $(INSTALL) -g 0 -m 644 -o 0 title/* ${INSTALLDIR}/title +- $(INSTALL) -g 0 -m 644 -o 0 text/* ${INSTALLDIR}/text ++ $(INSTALL) -g 0 -m444 -o 0 $(INCOMMON) ${INSTALLDIR} ++ $(INSTALL) -g 0 -m444 -o 0 button/* ${INSTALLDIR}/button ++ $(INSTALL) -g 0 -m444 -o 0 misc/* ${INSTALLDIR}/misc ++ $(INSTALL) -g 0 -m444 -o 0 missile/* ${INSTALLDIR}/missile ++ $(INSTALL) -g 0 -m444 -o 0 sound/* ${INSTALLDIR}/sound ++ $(INSTALL) -g 0 -m444 -o 0 stock/* ${INSTALLDIR}/stock ++ $(INSTALL) -g 0 -m444 -o 0 tank/* ${INSTALLDIR}/tank ++ $(INSTALL) -g 0 -m444 -o 0 tankgun/* ${INSTALLDIR}/tankgun ++ $(INSTALL) -g 0 -m444 -o 0 title/* ${INSTALLDIR}/title ++ $(INSTALL) -g 0 -m444 -o 0 text/* ${INSTALLDIR}/text + + user: + INSTALLDIR=./ FLAGS=-DLINUX $(MAKE) -C src diff -ruN /usr/ports/games/atanks/files/patch-src__Makefile.bsd atanks/files/patch-src__Makefile.bsd --- /usr/ports/games/atanks/files/patch-src__Makefile.bsd 1969-12-31 20:00:00.000000000 -0400 +++ atanks/files/patch-src__Makefile.bsd 2014-03-16 13:48:24.047636881 -0300 @@ -0,0 +1,13 @@ +--- ./src/Makefile.bsd.orig 2014-03-16 13:48:06.240647286 -0300 ++++ ./src/Makefile.bsd 2014-03-16 13:48:16.656643016 -0300 +@@ -4,8 +4,8 @@ + missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \ + update.o network.o floattext.o land.o text.o client.o gameloop.o + +-CPP=g++ +-CC=gcc ++CPP=clang++ ++CC=clang + LD=g++ + LIB=ar + WINDRES= >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403161653.s2GGr3rp049491>