diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2006-06-20 11:36:20 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2006-06-20 11:36:20 +0000 |
commit | 65506bcd284c4e6ab8677f5a67bd4f57e9b809e5 (patch) | |
tree | ff11ad89194df52dbdbeeb0ceee1517f5f9160e3 /emulators/raine/files/patch-makefile | |
parent | Upgrade from 0.5r1325 to 0.5r1340 (diff) |
- Update to 0.43.3 [1].
- Stop patching source to be C89 friendly and use USE_GCC=3.2+ instead.
Submitted by: ultragames93 <ultragames93@free.fr> [1]
Diffstat (limited to 'emulators/raine/files/patch-makefile')
-rw-r--r-- | emulators/raine/files/patch-makefile | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/emulators/raine/files/patch-makefile b/emulators/raine/files/patch-makefile index 73fd5ee1b7cc..7794091e6965 100644 --- a/emulators/raine/files/patch-makefile +++ b/emulators/raine/files/patch-makefile @@ -1,39 +1,17 @@ --- 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 - -+ifeq ("$(shell uname)","FreeBSD") -+OSTYPE=linux-gnu -+endif -+ - ifeq ("$(OSTYPE)","msys") - MINGDIR=1 - OSTYPE=mingw32 -@@ -181,11 +185,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 - artdir = $(rainedata)/artwork -@@ -205,7 +209,7 @@ - ++++ makefile Thu Nov 17 13:02:40 2005 +@@ -215,1 +215,1 @@ AFLAGS = -f elf - -- INCDIR += ` allegro-config --cflags` `libpng-config --cflags` + +- PNG_CFLAGS = "$(shell libpng-config --cflags)" +-ifndef SDL +- ALLEGRO_CFLAGS = "$(shell allegro-config --cflags)" +-endif + SDL_CFLAGS = "$(shell sdl-config --cflags)" + +- INCDIR += $(PNG_CFLAGS) $(ALLEGRO_CFLAGS) $(SDL_CFLAGS) -I$(X11BASE)/include -I$(LOCALBASE)/include + INCDIR += ` allegro-config --cflags` `libpng-config --cflags` -I$(X11BASE)/include -I$(LOCALBASE)/include + DEFINE = -D__RAINE__ \ -DRAINE_UNIX \ |