freebsd-ports/games/tome4/files/patch-build__te4core.lua
Pawel Pekala 73316e50ee Tales of Maj'Eyal (ToME) is a free, open source rouguelike RPG,
featuring tactical turn-based combat and advanced character building.
Play as one of many unique races and classes in the lore-filled world
of Eyal, exploring random dungeons, facing challenging battles, and
developing characters with your own tailored mix of abilities and powers.
With a modern graphical and customisable interface, intuitive mouse
control, streamlined mechanics, and deep, challenging combat,
Tales of Maj'Eyal offers engaging roguelike gameplay for the 21st century.

WWW: http://te4.org/

PR:		ports/185479
Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com>
2014-02-06 20:34:55 +00:00

29 lines
1.1 KiB
Lua

--- ./build/te4core.lua.orig 2014-01-05 19:42:37.000000000 -0500
+++ ./build/te4core.lua 2014-02-06 13:23:22.476164878 -0500
@@ -109,7 +109,7 @@
configuration "bsd"
libdirs {"/usr/local/lib/"}
- links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m", "pthread" }
+ links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m" }
defines { [[TENGINE_HOME_PATH='".t-engine"']], 'SELFEXE_BSD' }
configuration {"Debug"}
@@ -159,7 +159,7 @@
files { "../src/luajit2/src/host/minilua.c" }
- local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true)
+ local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true)
if string.find(arch_test, "LJ_TARGET_X64") then
target_arch = "x64"
@@ -201,7 +201,7 @@
links { "minilua" }
local dasm_flags = ""
- local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true)
+ local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true)
if string.find(arch_test, "LJ_TARGET_X64") then
target_arch = "x64"