summaryrefslogtreecommitdiff
path: root/games/kapooka/patches/patch-aa
blob: 0c37cebaf9ed86dccd74d5585df2e1c341ca478a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.1.1.1 2004/11/24 17:05:04 wiz Exp $

--- Makefile.orig	2004-10-17 23:08:42.000000000 +0200
+++ Makefile
@@ -1,10 +1,10 @@
 NAME=kapooka
 #CC=gcc-3.0
-CC=gcc
-DESTDIR=/usr/local
-DATADIR=$(DESTDIR)/$(NAME)
-COMPILE_FLAGS=-Wall -O2 -fomit-frame-pointer `libmikmod-config --cflags` -DDATADIR=$(DATADIR) -g
-LINK_FLAGS=-lm -L /usr/X11R6/lib -L /usr/local/lib `libmikmod-config --libs` -lpthread -lSDL -lSDL_image
+#CC=gcc
+DESTDIR=${PREFIX}
+DATADIR=$(DESTDIR)/share/$(NAME)
+COMPILE_FLAGS=-Wall -DDATADIR=$(DATADIR) -g
+LINK_FLAGS=-lm -L /usr/X11R6/lib `libmikmod-config --libs` `sdl-config --libs` -lSDL_image
 CFILES=$(wildcard *.c)
 OFILES=$(patsubst %.c,%.o,$(CFILES))