mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
b1417d78a3
- Add option to choose SDL version to depend on Thanks to the 0ad developers for their suggestions and kind support with the update.
22 lines
725 B
Lua
22 lines
725 B
Lua
--- build/premake/extern_libs4.lua.orig 2015-11-19 23:47:41 UTC
|
|
+++ build/premake/extern_libs4.lua
|
|
@@ -237,7 +237,7 @@ extern_lib_defs = {
|
|
end
|
|
-- TODO: This actually applies to most libraries we use on BSDs, make this a global setting.
|
|
if os.is("bsd") then
|
|
- includedirs { "/usr/local/include" }
|
|
+ includedirs { "%%LOCALBASE%%/include" }
|
|
end
|
|
end,
|
|
link_settings = function()
|
|
@@ -347,9 +347,6 @@ extern_lib_defs = {
|
|
elseif os.is("macosx") then
|
|
add_default_include_paths("iconv")
|
|
defines { "LIBICONV_STATIC" }
|
|
- elseif os.getversion().description == "FreeBSD" then
|
|
- defines { "HAVE_ICONV_CONST" }
|
|
- defines { "ICONV_CONST=const" }
|
|
end
|
|
end,
|
|
link_settings = function()
|