ports/emulators/raine/files/patch-makefile
Edwin Groothuis acbbe206d5 New port: emulators/raine - Arcade Emulator for M68000, M68020 and Z80 based hardware
Arcade Emulator for M68000, M68020 and Z80 based hardware.

	WWW: http://www.rainemu.com/

PR:		ports/69509
Submitted by:	Florent Thoumie <flz@xbsd.org>
2004-08-01 23:17:59 +00:00

36 lines
930 B
Text

--- 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)
OSTYPE=linux-gnu
endif
@@ -182,11 +182,11 @@
# SDL = 1
- prefix = $(DESTDIR)
- bindir = $(prefix)/usr/games
- sharedir = $(prefix)/usr/share
- mandir = $(sharedir)/man/man6
- rainedata = $(sharedir)/games/raine
+ prefix = $(PREFIX)
+ bindir = $(prefix)/bin
+ sharedir = $(prefix)/share
+ mandir = $(prefix)/man/man6
+ rainedata = $(sharedir)/raine
langdir = $(rainedata)/languages
romdir = $(rainedata)/roms
@@ -205,6 +205,7 @@
AFLAGS = -f elf
INCDIR += ` allegro-config --cflags`
+ INCDIR += -I/usr/X11R6/include
DEFINE = -D__RAINE__ \
-DRAINE_UNIX \