aboutsummaryrefslogtreecommitdiff
path: root/games/bugsquish/files
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-07-05 21:51:01 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-07-05 21:51:01 +0000
commit45bf9f6c73f8232085f9f4265ac9c648e786965e (patch)
treea6c7bf9f4a5a55b91970eb3dca5bd172e1723725 /games/bugsquish/files
parent76cf35449620df7c9ce835687280c3ac5a9a8ff5 (diff)
downloadports-45bf9f6c73f8232085f9f4265ac9c648e786965e.tar.gz
ports-45bf9f6c73f8232085f9f4265ac9c648e786965e.zip
Notes
Diffstat (limited to 'games/bugsquish/files')
-rw-r--r--games/bugsquish/files/patch-Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/bugsquish/files/patch-Makefile b/games/bugsquish/files/patch-Makefile
new file mode 100644
index 000000000000..4183884846bc
--- /dev/null
+++ b/games/bugsquish/files/patch-Makefile
@@ -0,0 +1,38 @@
+--- Makefile.orig Fri Apr 19 04:15:27 2002
++++ Makefile Mon Jul 5 17:23:01 2004
+@@ -9,8 +9,8 @@
+
+ # User-definable stuff:
+
+-BIN_PREFIX=/usr/local/bin/
+-DATA_PREFIX=/usr/share/bugsquish/
++BIN_PREFIX=${PREFIX}/bin/
++DATA_PREFIX=${PREFIX}/share/bugsquish/
+
+
+ # Defaults for Linux:
+@@ -19,7 +19,7 @@
+ TARGET_DEF=LINUX
+
+
+-CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
++CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
+ -D$(NOSOUNDFLAG) -D$(TARGET_DEF)
+
+
+@@ -29,11 +29,11 @@
+ IMAGE=-lSDL_image
+ NOSOUNDFLAG=__SOUND
+ SDL_LIB=$(SDL_LDFLAGS) $(MIXER) $(IMAGE)
+-SDL_CFLAGS := $(shell sdl-config --cflags)
+-SDL_LDFLAGS := $(shell sdl-config --libs)
++SDL_CFLAGS := $(shell sdl11-config --cflags)
++SDL_LDFLAGS := $(shell sdl11-config --libs)
+
+-installbin = install -g root -o root -m 755
+-installdat = install -g root -o root -m 644
++installbin = ${BSD_INSTALL_BIN}
++installdat = ${BSD_INSTALL_DATA}
+
+
+ # Make commands: