freebsd-ports/games/nlarn/files/patch-premake4.lua
Martin Wilke d4825fa7da NLarn is a roguelike game and as such a remake of the classic game Larn.
Very noticeable differences to the original so far include:

    - advanced user interface
    - extremely different item handling
    - extended monster AI
    - a real town
    - colour

WWW: http://nlarn.sourceforge.net/

PR:		ports/162393
Submitted by:	Martin Tournoij <martin@arp242.net>
2012-01-28 10:29:36 +00:00

19 lines
815 B
Lua

--- premake4.lua.orig 2011-11-08 23:01:23.000000000 +0100
+++ premake4.lua 2011-11-08 23:01:44.000000000 +0100
@@ -75,12 +75,11 @@
-- Add configuration for Lua
-- Debian and Ubuntu have a specific naming convention for the lua
-- package; fortunately it can be configured with pkg-config
- if os.is("linux") and (get_linux_distribution() == "Debian"
- or get_linux_distribution() == "Ubuntu")
+ if os.is("bsd")
then
- includedirs { get_dirs("include", "lua5.1") }
- links { "lua5.1" }
- libdirs { get_dirs("lib", "lua5.1") }
+ includedirs { get_dirs("include", "lua-5.1") }
+ links { "lua-5.1" }
+ libdirs { get_dirs("lib", "lua-5.1") }
else
includedirs { get_dirs("include", "lua") }
links { "lua" }