Date: Thu, 09 Nov 2017 17:46:10 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Gleb Popov <6yearold@gmail.com> Cc: "ports\@FreeBSD.org" <ports@freebsd.org> Subject: Re: Using lua and luajit. Message-ID: <375n-bdt9-wny@FreeBSD.org> References: <CALH631nhtE6TptG9PyL5Xr6QwuOO_58iGF2QMOUG7gO_=_v8XQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Popov <6yearold@gmail.com> writes: > Another question is how to handle lua packages that can work with different > lua versions (like py27- and py36- ports, for instance). The example of > such port is devel/lua-Penlight, as you can see it is basically a bunch of > .lua files, which I decided to install everything into lua/5.1/ subdir. > What's proper way to handle this? I've used PKGNAMEPREFIX=${LUA_PKGNAMEPREFIX} + USES=uniquefiles:dirs in my effort to port Torch7 a few years ago. Maybe you can salvage some bits. https://github.com/jbeich/freebsd-ports/blob/torch/devel/lua-penlight/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375n-bdt9-wny>