aboutsummaryrefslogtreecommitdiff
path: root/emulators/raine/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/files/patch-makefile')
-rw-r--r--emulators/raine/files/patch-makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/emulators/raine/files/patch-makefile b/emulators/raine/files/patch-makefile
index 86a2d1b602ae..73fd5ee1b7cc 100644
--- a/emulators/raine/files/patch-makefile
+++ b/emulators/raine/files/patch-makefile
@@ -1,15 +1,17 @@
---- makefile Sat Jun 12 16:02:17 2004
-+++ makefile.new Sat Jul 24 01:48:21 2004
-@@ -30,7 +30,7 @@
- # Try to detect mingw... If you want to build the dos and the mingw
- # version on the same system you should unset djdir before making
- # the mingw version.
--ifeq ($(shell uname),Linux)
-+ifeq ($(shell uname),FreeBSD)
+--- makefile.orig Tue Sep 20 09:24:09 2005
++++ makefile Thu Nov 17 13:02:40 2005
+@@ -32,6 +32,10 @@
OSTYPE=linux-gnu
endif
-@@ -182,11 +182,11 @@
++ifeq ("$(shell uname)","FreeBSD")
++OSTYPE=linux-gnu
++endif
++
+ ifeq ("$(OSTYPE)","msys")
+ MINGDIR=1
+ OSTYPE=mingw32
+@@ -181,11 +185,11 @@
# SDL = 1
@@ -25,12 +27,13 @@
+ rainedata = $(sharedir)/raine
langdir = $(rainedata)/languages
romdir = $(rainedata)/roms
+ artdir = $(rainedata)/artwork
+@@ -205,7 +209,7 @@
-@@ -205,6 +205,7 @@
AFLAGS = -f elf
- INCDIR += ` allegro-config --cflags`
-+ INCDIR += -I/usr/X11R6/include
+- INCDIR += ` allegro-config --cflags` `libpng-config --cflags`
++ INCDIR += ` allegro-config --cflags` `libpng-config --cflags` -I$(X11BASE)/include -I$(LOCALBASE)/include
DEFINE = -D__RAINE__ \
-DRAINE_UNIX \