tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg-config files for multiversion Lua
OBATA Akio wrote:
> You can use BUILDLINK_FNAME_TRANSFORM.
>
> BUILDLINK_FNAME_TRANSFORM.lua51+= -e
> 's|lib/pkgconfig/lua-5.1.pc|lib/pkgconfig/lua.pc|'
Thanks for the hint, that's exactly what I needed.
> And it is nice to use ALTERNATIVES for out of pkgsrc framework.
>
> bin/lua5.1 @PREFIX@/bin/lua
> lib/pkgconfig/lua-5.1.pc @PREFIX@/lib/pkgconfig/lua.pc
I'd love to, but:
$ grep -A 2 ALTERNATIVES doc/pkgsrc.txt
ALTERNATIVES
FIXME: There is no documentation on the alternatives framework.
Alex
Home |
Main Index |
Thread Index |
Old Index