diff --git a/Portfile b/Portfile
index b8c1aac..ec3cf61 100644
a
|
b
|
variant ipv6 { |
129 | 129 | } |
130 | 130 | |
131 | 131 | variant lua { |
132 | | configure.args-delete --without-lua |
133 | | configure.args-append --with-lua=${prefix} |
134 | | depends_lib-append port:lua |
| 132 | configure.args-delete --without-lua |
| 133 | configure.ldflags-append -L${prefix}/lib/lua-5.2 |
| 134 | depends_lib-append port:lua52 |
| 135 | patchfiles-append patch-epan-wslua.diff |
135 | 136 | } |
136 | 137 | |
137 | 138 | variant libsmi { |
diff --git a/files/patch-epan-wslua.diff b/files/patch-epan-wslua.diff
new file mode 100644
index 0000000..81a0240
-
|
+
|
|
| 1 | --- epan/wslua/lua_bitop.c.orig 2015-08-12 11:47:43.000000000 -0500 |
| 2 | +++ epan/wslua/lua_bitop.c 2015-10-03 13:50:48.000000000 -0500 |
| 3 | @@ -29,8 +29,8 @@ |
| 4 | #define LUA_BITOP_VERSION "1.0.2" |
| 5 | |
| 6 | #define LUA_LIB |
| 7 | -#include <lua.h> |
| 8 | -#include <lauxlib.h> |
| 9 | +#include <lua-5.2/lua.h> |
| 10 | +#include <lua-5.2/lauxlib.h> |
| 11 | |
| 12 | #include "lua_bitop.h" |
| 13 | |