summaryrefslogtreecommitdiff
path: root/games/foobillard/files
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2002-11-01 20:41:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2002-11-01 20:41:26 +0000
commit8884e89ea7edc180bbe86a6066de8361e85239c1 (patch)
tree6c3b72120c1d151b30d3fda399c036c8707a7212 /games/foobillard/files
parentUpdate to 0.31. (diff)
Add games/foobillard.
A free OpenGL-billard game. PR: 44531 Submitted by: Thomas Vogt <thomas.vogt@bsdunix.ch> Approved by: pat
Notes
Notes: svn path=/head/; revision=69267
Diffstat (limited to 'games/foobillard/files')
-rw-r--r--games/foobillard/files/patch-Makefile.in27
-rw-r--r--games/foobillard/files/patch-sys_stuff.c11
2 files changed, 38 insertions, 0 deletions
diff --git a/games/foobillard/files/patch-Makefile.in b/games/foobillard/files/patch-Makefile.in
new file mode 100644
index 000000000000..b88793647eaa
--- /dev/null
+++ b/games/foobillard/files/patch-Makefile.in
@@ -0,0 +1,27 @@
+--- src/Makefile.in.orig Sat Oct 26 22:01:08 2002
++++ src/Makefile.in Sat Oct 26 22:01:40 2002
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
++# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
+
+ # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+@@ -72,14 +72,14 @@
+ #INCDIR = /usr/X11R6/include
+
+-CC = gcc
++CC ?= gcc
+-@USE_SDL_TRUE@SDL_CFLAGS = `sdl-config --cflags` -DUSE_SDL
++@USE_SDL_TRUE@SDL_CFLAGS = `$(SDL_CONFIG) --cflags` -DUSE_SDL
+ @USE_SDL_FALSE@SDL_CFLAGS =
+-@USE_SDL_TRUE@SDL_LIBS = `sdl-config --libs`
++@USE_SDL_TRUE@SDL_LIBS = `$(SDL_CONFIG) --libs`
+ @USE_SDL_FALSE@SDL_LIBS =
+ @USE_SDL_TRUE@GLUT_LIBS =
+ @USE_SDL_FALSE@GLUT_LIBS = -lglut
+
+-CFLAGS = -Wall -O3 `freetype-config --cflags` ${SDL_CFLAGS}
++CFLAGS += -Wall `freetype-config --cflags` ${SDL_CFLAGS} -I%%X11BASE%%/include -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/SDL11
+
+ #LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
+ #LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
diff --git a/games/foobillard/files/patch-sys_stuff.c b/games/foobillard/files/patch-sys_stuff.c
new file mode 100644
index 000000000000..19039f0ba66f
--- /dev/null
+++ b/games/foobillard/files/patch-sys_stuff.c
@@ -0,0 +1,11 @@
+--- src/sys_stuff.c.orig Sat Oct 26 20:47:23 2002
++++ src/sys_stuff.c Sat Oct 26 20:47:32 2002
+@@ -5,7 +5,7 @@
+ #ifndef USE_SDL
+ #include <GL/glut.h>
+ #else
+-#include <SDL/SDL.h>
++#include <SDL11/SDL.h>
+ #include <GL/gl.h>
+ #include <GL/glu.h>
+ #endif