aboutsummaryrefslogtreecommitdiff
path: root/emulators/mess/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mess/files')
-rw-r--r--emulators/mess/files/patch-makefile.sdl83
-rw-r--r--emulators/mess/files/pkg-message.in13
-rw-r--r--emulators/mess/files/sdlmess.in16
3 files changed, 0 insertions, 112 deletions
diff --git a/emulators/mess/files/patch-makefile.sdl b/emulators/mess/files/patch-makefile.sdl
deleted file mode 100644
index da3e09121c14..000000000000
--- a/emulators/mess/files/patch-makefile.sdl
+++ /dev/null
@@ -1,83 +0,0 @@
---- ./makefile.sdl.orig 2008-03-26 20:35:31.000000000 -0300
-+++ ./makefile.sdl 2008-04-21 16:26:24.000000000 -0300
-@@ -104,11 +104,13 @@
- # uncomment next line to include the internal profiler
- # PROFILER = 1
-
-+ifeq ($(ARCH),i386)
- # uncomment next line to use DRC MIPS3 engine
- X86_MIPS3_DRC = 1
-
- # uncomment next line to use DRC PowerPC engine
- X86_PPC_DRC = 1
-+endif
-
- # uncomment next line to build using unix-style libsdl on Mac OS X
- # (vs. the native framework port). Normal users should not enable this.
-@@ -121,7 +123,9 @@
- #-------------------------------------------------
-
- # uncomment next line if you are building for a 64-bit target
--# PTR64 = 1
-+ifeq ($(ARCH),amd64)
-+PTR64 = 1
-+endif
-
- # uncomment next line if you are building for a big-endian target
- # BIGENDIAN = 1
-@@ -198,8 +202,8 @@
-
- # compiler, linker and utilities
- AR = @ar
--CC = @gcc
--LD = @gcc
-+CC := @$(CC)
-+LD := @$(CC)
- MD = -mkdir$(EXE)
- RM = @rm -f
-
-@@ -223,7 +227,7 @@
- endif
-
- # fullname is prefix+name+suffix+debugsuffix
--FULLNAME = $(PREFIX)$(NAME)$(SUFFIX)$(DEBUGSUFFIX)
-+FULLNAME = $(NAME)
-
- # add an EXE suffix to get the final emulator name
- EMULATOR = $(FULLNAME)$(EXE)
-@@ -293,7 +297,7 @@
- #-------------------------------------------------
-
- # we compile to C89 standard with GNU extensions
--CFLAGS = -std=gnu89
-+CFLAGS += -std=gnu89
-
- # this speeds it up a bit by piping between the preprocessor/compiler/assembler
- CFLAGS += -pipe
-@@ -331,9 +335,6 @@
- # and make all errors into warnings
- ifneq ($(OPTIMIZE),0)
- CFLAGS += $(ARCHOPTS) -fno-strict-aliasing
--ifneq ($(TARGETOS),os2)
--CFLAGS += -Werror
--endif
- endif
-
- # if symbols are on, make sure we have frame pointers
-@@ -358,6 +359,7 @@
- -I$(SRC)/lib/util \
- -I$(SRC)/osd \
- -I$(SRC)/osd/$(OSD) \
-+ -I$(LOCALBASE)/include
-
-
-
-@@ -370,7 +372,7 @@
- LDFLAGS =
- ifneq ($(TARGETOS),macosx)
- ifneq ($(TARGETOS),os2)
--LDFLAGS = -Wl,--warn-common
-+LDFLAGS = -Wl,--warn-common -L$(LOCALBASE)/lib
- endif
- endif
- LDFLAGSEMULATOR =
diff --git a/emulators/mess/files/pkg-message.in b/emulators/mess/files/pkg-message.in
deleted file mode 100644
index 07020956f626..000000000000
--- a/emulators/mess/files/pkg-message.in
+++ /dev/null
@@ -1,13 +0,0 @@
-==============================================================================
-
-SDLMESS has been installed.
-
-The MESS tools are installed in "%%PREFIX%%/libexec/sdlmess"
-to avoid conflicting with other MESS ports.
-
-A wrapper script "sdlmess" has been installed. It creates a "~/.sdlmess"
-directory mirroring the directory tree under "%%DATADIR%%"
-when you run it for the first time, and starts the program from there. So
-place all MESS files (e.g. ROMs, cheats, etc.) in "~/.sdlmess".
-
-==============================================================================
diff --git a/emulators/mess/files/sdlmess.in b/emulators/mess/files/sdlmess.in
deleted file mode 100644
index f0d97316d6f3..000000000000
--- a/emulators/mess/files/sdlmess.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# The executable needs to be run from its data directory, and needs to store
-# configuration in it. We therefore mirror the data directory hierarchy in
-# ~/.sdlmess, and create symlinks to the data files.
-#
-
-if [ ! -d ~/.sdlmess ]
-then
- cd %%DATADIR%% || exit 1
- find * -type d -exec mkdir -p ~/.sdlmess/{} \;
- find * -type f -exec ln -s %%DATADIR%%/{} ~/.sdlmess/{} \; 2>/dev/null
-fi
-
-cd ~/.sdlmess || exit 1
-exec %%PREFIX%%/libexec/sdlmess/mess "$@"