aboutsummaryrefslogtreecommitdiff
path: root/games/gillo/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-23 20:01:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-23 20:01:03 +0000
commit460a48090c325ddbea6e4d7c790498aea42a149e (patch)
tree896fabb2d89b9ccf44111674650a09aebfeb956d /games/gillo/files
parentee1799080140ab6f9f077ffc2b4d89343698743f (diff)
downloadports-460a48090c325ddbea6e4d7c790498aea42a149e.tar.gz
ports-460a48090c325ddbea6e4d7c790498aea42a149e.zip
Notes
Diffstat (limited to 'games/gillo/files')
-rw-r--r--games/gillo/files/patch-Jamfile8
-rw-r--r--games/gillo/files/patch-Jamrules15
-rw-r--r--games/gillo/files/patch-src_Jamfile10
3 files changed, 33 insertions, 0 deletions
diff --git a/games/gillo/files/patch-Jamfile b/games/gillo/files/patch-Jamfile
new file mode 100644
index 000000000000..3af37dc60031
--- /dev/null
+++ b/games/gillo/files/patch-Jamfile
@@ -0,0 +1,8 @@
+--- Jamfile.orig
++++ Jamfile
+@@ -2,5 +2,3 @@
+
+ SubInclude TOP src ;
+ SubInclude TOP data ;
+-
+-InstallFile $(DOCDIR) : README AUTHORS COPYING ;
diff --git a/games/gillo/files/patch-Jamrules b/games/gillo/files/patch-Jamrules
new file mode 100644
index 000000000000..195a5d6ea4a9
--- /dev/null
+++ b/games/gillo/files/patch-Jamrules
@@ -0,0 +1,15 @@
+--- Jamrules.orig
++++ Jamrules
+@@ -5,8 +5,9 @@
+ DATADIR = $(PREFIX)/share/gillo ;
+ DOCDIR = $(PREFIX)/share/doc/gillo ;
+
+-CCFLAGS += -DENABLE_BINRELOC ;
+-if $(DEBUG) { CCFLAGS += -g -O0 -DDEBUG ; }
+-else CCFLAGS += -O3 ;
++CCFLAGS += $(CFLAGS) %%SDL_CFLAGS%% ;
++HDRS = $(X11BASE)/include ;
++#if $(DEBUG) { CCFLAGS += -g -O0 -DDEBUG ; }
++#else CCFLAGS += -O3 ;
+ C++FLAGS += $(CCFLAGS) ;
+ #LINKFLAGS += -static ;
diff --git a/games/gillo/files/patch-src_Jamfile b/games/gillo/files/patch-src_Jamfile
new file mode 100644
index 000000000000..c81bffa2ccc6
--- /dev/null
+++ b/games/gillo/files/patch-src_Jamfile
@@ -0,0 +1,10 @@
+--- src/Jamfile.orig
++++ src/Jamfile
+@@ -2,6 +2,6 @@
+
+ Main gillo3 : camera.cpp cameraball.cpp cameratrack.cpp car.cpp context.cpp cube.cpp entity.cpp event.cpp field.cpp game.cpp goal.cpp goalkeeper.cpp img.cpp main.cpp menu.cpp omnicar.cpp overlay.cpp player.cpp pwrup.cpp rect.cpp simpleball.cpp sound.cpp video.cpp viewport.cpp prefix.c iballpicker.cpp ;
+
+-LINKLIBS on gillo3 = -lpthread -lGL -lGLU -lSDL -lode -lplibssgaux -lplibssg -lplibsg -lplibul -lplibsl ;
++LINKLIBS on gillo3 = -lGL -lGLU -lode -lplibssgaux -lplibssg -lplibsg -lplibul -lplibsl -L$(X11BASE)/lib %%SDL_LDFLAGS%% ;
+
+ InstallBin $(BINDIR) : gillo3$(SUFEXE) ;