lua modules

Filip Hajny <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general,gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
Hi all,

while going through some Lua packages in both pksgrc and pkgsrc-wip,  
I've noticed there is an annoying inconsistency in the way how modules  
are installed. Seems to me the standard (more recent?) way is to  
include lang/lua/module.mk and then use ${LUA_CDIR} and ${LUA_LDIR}  
for installation. This means lua can find e.g. shared libs on its own,  
too.

Some packages still install directly under ${PREFIX}/lib/lua though,  
and then imply you mangle your ENV to let lua pick the lib up. Is  
there any reason at all not do change these the packages to use  
module.mk and standard LUA_CDIR/LUA_LDIR paths?

Regards,

Filip

--
Filip Hajny
Joyent Inc.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.