summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-06-18 06:20:03 +0000
committeradamw <adamw@FreeBSD.org>2003-06-18 06:20:03 +0000
commit3ab4d5814e2300d391e89d13360110b0ea0388b5 (patch)
tree83258e295033c97cfa7b3b1c498c9ea6fdec8aeb /games
parent42a911c4befe6df7d7f84f772ecf31ae5d96e959 (diff)
downloadFreeBSD-ports-3ab4d5814e2300d391e89d13360110b0ea0388b5.zip
FreeBSD-ports-3ab4d5814e2300d391e89d13360110b0ea0388b5.tar.gz
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
Diffstat (limited to 'games')
-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 b8ad197..b6f31c8 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...
OpenPOWER on IntegriCloud