summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/sdlmess/files/sdlmess-0.149-system-lua.patch')
-rw-r--r--games-emulation/sdlmess/files/sdlmess-0.149-system-lua.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/games-emulation/sdlmess/files/sdlmess-0.149-system-lua.patch b/games-emulation/sdlmess/files/sdlmess-0.149-system-lua.patch
deleted file mode 100644
index 8460497f1d68..000000000000
--- a/games-emulation/sdlmess/files/sdlmess-0.149-system-lua.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit ea514c9ded266aa365976649d88fa5593ef7ebf5
-Author: hasufell <hasufell@gentoo.org>
-Date: Tue Jun 25 23:48:26 2013 +0200
-
- add switch to use system lua
-
-diff --git a/makefile b/makefile
-index dd4598d..bdf22d2 100644
---- a/makefile
-+++ b/makefile
-@@ -228,6 +228,9 @@ BUILD_JPEGLIB = 1
- # uncomment next line to build PortMidi as part of MAME/MESS build
- BUILD_MIDILIB = 1
-
-+# uncomment next line to build Lua-5.2 as part of MAME/MESS build
-+BUILD_LUA = 1
-+
- # uncomment next line to include the symbols
- # SYMBOLS = 1
-
-@@ -664,7 +667,12 @@ SOFTFLOAT = $(OBJ)/libsoftfloat.a
- FORMATS_LIB = $(OBJ)/libformats.a
-
- # add LUA library
-+ifeq ($(BUILD_LUA),1)
- LUA_LIB = $(OBJ)/liblua.a
-+else
-+LIBS += $(shell $(PKG_CONFIG) --libs lua)
-+INCPATH += $(shell $(PKG_CONFIG) --cflags lua)
-+endif
-
- # add PortMidi MIDI library
- ifeq ($(BUILD_MIDILIB),1)