diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-17 20:40:28 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-18 03:17:26 -0500 |
commit | 37b7c85dd4bc77738680bfc762b6ced94db3f546 (patch) | |
tree | dd9d56c5e3fe5482f37b846345dd98b68d627162 /games-misc/c++robots | |
parent | EAPI=5 (diff) | |
download | gentoo-37b7c85dd4bc77738680bfc762b6ced94db3f546.tar.gz gentoo-37b7c85dd4bc77738680bfc762b6ced94db3f546.tar.bz2 gentoo-37b7c85dd4bc77738680bfc762b6ced94db3f546.zip |
EAPI=5; respect CXX
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-misc/c++robots')
-rw-r--r-- | games-misc/c++robots/c++robots-0.ebuild | 2 | ||||
-rw-r--r-- | games-misc/c++robots/files/proper-coding.patch | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild index a243b7276085..3fc460afc916 100644 --- a/games-misc/c++robots/c++robots-0.ebuild +++ b/games-misc/c++robots/c++robots-0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 inherit eutils games DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament" diff --git a/games-misc/c++robots/files/proper-coding.patch b/games-misc/c++robots/files/proper-coding.patch index f54af0389079..93b87c1c1da5 100644 --- a/games-misc/c++robots/files/proper-coding.patch +++ b/games-misc/c++robots/files/proper-coding.patch @@ -1,51 +1,51 @@ ---- Makefile.orig 2003-01-01 23:36:19.000000000 -0500 -+++ Makefile 2003-01-01 23:39:32.000000000 -0500 -@@ -1,8 +1,9 @@ +--- c++robots.orig/Makefile ++++ c++robots/Makefile +@@ -1,38 +1,37 @@ CFLAGS=-g +LDFLAGS= PROGRAMS=combat ROBOTS=cylon tracker target -CC=g++ -g -+CC=g++ - +- all: $(PROGRAMS) $(ROBOTS) -@@ -10,29 +11,29 @@ + clean: rm -f $(PROGRAMS) $(ROBOTS) *.o core combat: combat.o - $(CC) $(CFLAGS) -o $@ combat.o -lm -+ $(CC) -o $@ $(LDFLAGS) combat.o -lm ++ $(CXX) -o $@ $(LDFLAGS) combat.o -lm combat.o: combat.c - $(CC) $(CFLAGS) -c combat.c +- $(CC) $(CFLAGS) -c combat.c ++ $(CXX) $(CXXFLAGS) -c combat.c robots.o: robots.C robots.h - g++ -c robots.C -+ $(CC) $(CFLAGS) -c robots.C ++ $(CXX) $(CXXFLAGS) -c robots.C cylon: cylon.o robots.o - g++ -static -o $@ cylon.o robots.o -+ $(CC) -o $@ $(LDFLAGS) cylon.o robots.o ++ $(CXX) -o $@ $(LDFLAGS) cylon.o robots.o cylon.o: cylon.c robots.h - g++ -c cylon.c -+ $(CC) $(CFLAGS) -c cylon.c ++ $(CXX) $(CXXFLAGS) -c cylon.c tracker: tracker.o robots.o - g++ -static -o $@ tracker.o robots.o -+ $(CC) -o $@ $(LDFLAGS) tracker.o robots.o ++ $(CXX) -o $@ $(LDFLAGS) tracker.o robots.o tracker.o: tracker.c robots.h - g++ -c tracker.c -+ $(CC) $(CFLAGS) -c tracker.c ++ $(CXX) $(CXXFLAGS) -c tracker.c target: target.o robots.o - g++ -static -o $@ target.o robots.o -+ $(CC) -o $@ $(LDFLAGS) target.o robots.o ++ $(CXX) -o $@ $(LDFLAGS) target.o robots.o target.o: target.c robots.h - g++ -c target.c -+ $(CC) $(CFLAGS) -c target.c ++ $(CXX) $(CXXFLAGS) -c target.c |