[Slackbuilds-users] SlackBuilds, Package:Lua (fwd)
Robby Workman
rworkman at slackbuilds.org
Mon Aug 17 14:25:20 UTC 2009
On Mon, 17 Aug 2009 16:14:41 +0200 (CEST)
Menno Duursma <druiloor at zonnet.nl> wrote:
> On Mon, 17 Aug 2009, Robby Workman wrote:
>
> > We tweaked the script a bit to make everything build on x86_64
> > (much thanks to Aaron Hsu for some help with it), and the result
> > is attached - how's that look?
>
> Nice one! Tests good. One thing though, in case someone has compiled
> some app against the former version, they'll have to create a
> compatibility link unless this patch (and unlikely the .so.5.1 will
> _ever_ be used):
>
> --- lua.tmp/lua.SlackBuild 2009-08-10 01:32:27.000000000 +0200
> +++ lua/lua.SlackBuild 2009-08-17 16:02:05.000000000 +0200
> @@ -8,7 +8,7 @@
>
> PRGNAM=lua
> VERSION=5.1.4
> -ARCH=${ARCH:-x86_64}
> +ARCH=${ARCH:-i486}
> BUILD=${BUILD:-2}
> TAG=${TAG:-_SBo}
>
> @@ -68,7 +68,7 @@
> gcc -shared *.o -o liblua.so.5.1.4
> cp -a liblua.so.5.1.4 $PKG/usr/lib${LIBDIRSUFFIX}
> ( cd $PKG/usr/lib${LIBDIRSUFFIX}
> - ln -s liblua.so.5.1.4 liblua.so.5.1
> + ln -s liblua.so.5.1.4 liblua-5.1.so
> ln -s liblua.so.5.1.4 liblua.so.5
> ln -s liblua.so.5.1.4 liblua.so
> )
>
I'll keep this handy just in case, but I think the easiest
solution is to just rebuild whatever needed that so that it
won't need that link :-)
-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090817/4a6635ce/attachment.asc>
More information about the SlackBuilds-users
mailing list