lang/lua: It does need gmake.

Christer Solskogen christer.solskogen at
Sun Mar 18 17:16:48 UTC 2012

On Thu, Mar 15, 2012 at 8:50 PM, Jeremy Messenger
<mezz.freebsd at> wrote:
> I get a build failure on amd64:
> ---------------------------------
> /usr/bin/ld: lapi.o: relocation R_X86_64_32 against `luaO_nilobject_'
> can not be used when making a shared object; recompile with -fPIC
> lapi.o: could not read symbols: Bad value
> *** Error code 1
> ---------------------------------
> I got it fixed by add USE_GMAKE=yes in the Makefile and now I can get
> it built ok. If you compare the build log between make and gmake. You
> will see it has different output. This
> has broken it.

I reported this some time ago, and I was adviced to use CFLAGS?=-XXX
instead of CFLAGS=-XXX in make.conf.


More information about the freebsd-ports mailing list