summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-02-01 18:59:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-02-01 18:59:49 +0000
commit97d0cd8e45030c246cda9c2d37c9545d5dcd080c (patch)
treedf3308324431e7ef7e9283757fcb8870329cfecc /games-puzzle/tong/files
parentVersion bump. (diff)
downloadgentoo-2-97d0cd8e45030c246cda9c2d37c9545d5dcd080c.tar.gz
gentoo-2-97d0cd8e45030c246cda9c2d37c9545d5dcd080c.tar.bz2
gentoo-2-97d0cd8e45030c246cda9c2d37c9545d5dcd080c.zip
initial commit - ebuild submitted by eGore via bug #76950
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-puzzle/tong/files')
-rw-r--r--games-puzzle/tong/files/1.0-makefile.patch30
-rw-r--r--games-puzzle/tong/files/digest-tong-1.01
2 files changed, 31 insertions, 0 deletions
diff --git a/games-puzzle/tong/files/1.0-makefile.patch b/games-puzzle/tong/files/1.0-makefile.patch
new file mode 100644
index 000000000000..a2494f0ecb40
--- /dev/null
+++ b/games-puzzle/tong/files/1.0-makefile.patch
@@ -0,0 +1,30 @@
+--- Makefile.orig 2005-02-01 11:49:23.000000000 -0500
++++ Makefile 2005-02-01 11:51:07.000000000 -0500
+@@ -1,11 +1,10 @@
+ #hello world
+ #my first attempt at making a makefile
+
+-SDL_CFLAGS := $(shell sdl-config --cflags)
++CXXFLAGS += $(shell sdl-config --cflags)
+ SDL_LDFLAGS := $(shell sdl-config --libs)
+ MIXER_FLAGS := -lSDL_mixer -lpthread
+ IMG_FLAGS := -lSDL_image
+-CC=g++ -O3 -Wall #-ggdb3
+ SOURCES = tetris.cpp pong.cpp text.cpp option.cpp media.cpp
+ #these sources need to be linked to the SDL libs so may have special flag settings
+ SDL_SOURCES = tong.cpp
+@@ -16,13 +15,7 @@
+ #builds all, builds the target
+
+ all: $(OBJS)
+- $(CC) $(SDL_LDFLAGS) $(MIXER_FLAGS) $(IMG_FLAGS) $(OBJS) -o $(TARGET)
+-
+-%.o: %.cpp
+- $(CC) $(SDL_CFLAGS) -c -o $@ $<
+-
+-tong.o: $(SDL_SOURCES)
+- $(CC) $(SDL_CFLAGS) -c -o $@ $<
++ $(CXX) $(SDL_LDFLAGS) $(MIXER_FLAGS) $(IMG_FLAGS) $(OBJS) -o $(TARGET)
+
+ # clean out the mess
+ clean:
diff --git a/games-puzzle/tong/files/digest-tong-1.0 b/games-puzzle/tong/files/digest-tong-1.0
new file mode 100644
index 000000000000..6fd758cffa64
--- /dev/null
+++ b/games-puzzle/tong/files/digest-tong-1.0
@@ -0,0 +1 @@
+MD5 9f358a012639de1a5a8d3e0b323438de tong-1.0.tar.gz 33291881