summaryrefslogtreecommitdiff
path: root/games/glmaze
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-18 06:20:03 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-18 06:20:03 +0000
commitb3fbf266c1fd8486a452f0bf88157ce930a62880 (patch)
tree0d8e752e18b6646ad70fe5c373b69de62fe9ce8b /games/glmaze
parentAdd caudium12 1.2.26, (diff)
Don't clobber ${CC}, respect ${CFLAGS}, and skip some optimizations
that weren't making things any faster or smaller, and were making the build fail on alpha. Reported by: kris
Notes
Notes: svn path=/head/; revision=83235
Diffstat (limited to 'games/glmaze')
-rw-r--r--games/glmaze/files/patch-Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/glmaze/files/patch-Makefile b/games/glmaze/files/patch-Makefile
index b8ad19757aa4..b6f31c8badd8 100644
--- a/games/glmaze/files/patch-Makefile
+++ b/games/glmaze/files/patch-Makefile
@@ -1,6 +1,8 @@
--- Makefile.orig Wed Jan 23 06:44:46 2002
-+++ Makefile Thu Jun 5 19:54:58 2003
-@@ -2,16 +2,16 @@
++++ Makefile Tue Jun 17 23:14:54 2003
+@@ -1,17 +1,17 @@
+-CC = gcc -O2 -ffast-math -Wall
++#CC = gcc -O2 -ffast-math -Wall
VERSION = "1.1a"
@@ -26,11 +28,11 @@
.c.o:
- $(CC) -DVERSION=\"$(VERSION)\" $(SDL_FLAGS) -c -o $@ $<
-+ $(CC) -I${X11BASE}/include -DVERSION=\"$(VERSION)\" $(SDL_FLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) -I${X11BASE}/include -DVERSION=\"$(VERSION)\" $(SDL_FLAGS) -c -o $@ $<
glmaze: $(OBJECTS)
- $(CC) $(OBJECTS) -o $@ $(SDL_LIBS) -lGL -lGLU -lm
-+ $(CC) $(OBJECTS) -o $@ -L${X11BASE}/lib $(SDL_LIBS) -lGL -lGLU -lm
++ $(CC) $(LDFLAGS) $(OBJECTS) -o $@ -L${X11BASE}/lib $(SDL_LIBS) -lGL -lGLU -lm
clean:
@echo Cleaning up...