Decent Makefile for luasocket 2.0.1 on FreeBSD
Wednesday, 16. May 2007, 18:08:38
So, the best bet is to download luasocket from the luasocket page, and then compile and install it yourself. However, its makefile and config file are kind of cracked out. It also assumes you use Lua 5.0 and need compat-5.1r5 which it comes with, but doesn't seem to want to compile into an object file even after editing the makefile.
I hacked on them a bit, and these should work for anyone who installed /usr/ports/lang/lua (5.1), and doesn't want to deal with the compat-5.1 crap.
config
makefile
Hope this can help someone else out until the port gets updated.







