summaryrefslogtreecommitdiff
path: root/games/iso-pernangband/patches/patch-aa
blob: 0cb5bcc26cad764510b77c1ddcdef56d33795add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 2001/10/21 17:10:14 hubertf Exp $

--- Makefile.orig	Sun May 20 07:01:06 2001
+++ Makefile
@@ -132,14 +132,14 @@
 ## Variation -- Only support "main-x11.c" (not "main-gcu.c")
 ##
 # CFLAGS = -Wall -O1 -pipe -g -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
-CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY"
+CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY" -DDEFAULT_PATH="\"${PREFIX}/share/iso-pernangband\""
 
 # Hajo:
 # the -fpermissive is neccesary because angband.h is not Ansi C++
 # compliant but I don't want to change angband.h 
-CXXFLAGS = -Wall -O1 -fpermissive -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
+CXXFLAGS = -Wall -O1 -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
 # LIBS = -lX11 -lXext -L/usr/X11R6/lib
-LIBS = -lX11 -lXext -lSDL -lpthread -L/usr/X11R6/lib
+LIBS = `sdl-config --libs`
 
 
 ##