FreeBSD Enlightment

From Leo's Notes
Last edited on 27 January 2014, at 01:00.

While building x11-wm/enlightment, I got an error:

 Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable

I had built lua manually through the ports, but pkg-config obviously can't see it.

To fix this, do:

cd /usr/local/libdata/pkgconfig/
ln -s lua-51.pc lua.pc
pkg-config --cflags lua # this should return the 5.1 path

Then re-run make on enlightment again.