diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /games/0ad/files/patch-build_premake_extern__libs5.lua | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Diffstat (limited to 'games/0ad/files/patch-build_premake_extern__libs5.lua')
-rw-r--r-- | games/0ad/files/patch-build_premake_extern__libs5.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games/0ad/files/patch-build_premake_extern__libs5.lua b/games/0ad/files/patch-build_premake_extern__libs5.lua new file mode 100644 index 000000000000..946c30375b72 --- /dev/null +++ b/games/0ad/files/patch-build_premake_extern__libs5.lua @@ -0,0 +1,21 @@ +--- build/premake/extern_libs5.lua.orig 2018-04-29 15:44:48 UTC ++++ build/premake/extern_libs5.lua +@@ -191,7 +191,7 @@ extern_lib_defs = { + end + -- TODO: This actually applies to most libraries we use on BSDs, make this a global setting. + if os.istarget("bsd") then +- sysincludedirs { "/usr/local/include" } ++ sysincludedirs { "%%LOCALBASE%%/include" } + end + end, + link_settings = function() +@@ -301,9 +301,6 @@ extern_lib_defs = { + elseif os.istarget("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() |