svn commit: r392310 - in head/lang/lua53: . files

Sunpoet Po-Chuan Hsieh sunpoet at freebsd.org
Fri Jul 17 16:37:55 UTC 2015


On Fri, Jul 17, 2015 at 2:35 AM, Philip M. Gollucci <pgollucci at freebsd.org>
wrote:

> Author: pgollucci
> Date: Thu Jul 16 18:35:33 2015
> New Revision: 392310
> URL: https://svnweb.freebsd.org/changeset/ports/392310
>
> Log:
>   lang/lua53: 5.3.0 -> 5.3.1
>
>   PR:                  201469
>   Submitted by:        milios at ccsys.com
>
> Modified:
>   head/lang/lua53/Makefile
>   head/lang/lua53/distinfo
>   head/lang/lua53/files/patch-src__liolib.c
>
> Modified: head/lang/lua53/Makefile
>
> ==============================================================================
> --- head/lang/lua53/Makefile    Thu Jul 16 18:35:27 2015        (r392309)
> +++ head/lang/lua53/Makefile    Thu Jul 16 18:35:33 2015        (r392310)
> @@ -2,7 +2,7 @@
>  # $FreeBSD$
>
>  PORTNAME=      lua
> -PORTVERSION=   5.3.0
> +PORTVERSION=   5.3.1
>  CATEGORIES=    lang
>  MASTER_SITES=  http://www.lua.org/ftp/
>  PKGNAMESUFFIX= 53
> @@ -13,7 +13,7 @@ COMMENT=      Small, compilable scripting lan
>  LICENSE=       MIT
>
>  LUA_VER=       5.3
> -LIB_DEPENDS=   libedit.so.0:${PORTSDIR}/devel/libedit
> +LIB_DEPENDS=   libedit.so:${PORTSDIR}/devel/libedit
>

I think it's wrong here. /usr/lib/libedit.so will be used instead of
libedit.so.0 from devel/libedit. It leads dependency error.

% make
===> Fetching all distfiles required by lua53-5.3.1 for building
===>  Extracting for lua53-5.3.1
=> SHA256 Checksum OK for lua-5.3.1.tar.gz.
===>  Patching for lua53-5.3.1
===>  Applying FreeBSD patches for lua53-5.3.1
===>   lua53-5.3.1 depends on shared library: libedit.so - found
(/usr/lib/libedit.so)
...

% pkg info -d lua53-5.3.1
lua53-5.3.1:

% ldd /usr/local/bin/lua53
/usr/local/bin/lua53:
        libm.so.5 => /lib/libm.so.5 (0x800853000)
        libedit.so.0 => /usr/local/lib/libedit.so.0 (0x800a7c000)
        libthr.so.3 => /lib/libthr.so.3 (0x800cb5000)
        libc.so.7 => /lib/libc.so.7 (0x800eda000)
        libncurses.so.8 => /lib/libncurses.so.8 (0x801287000)


>  USE_LDCONFIG=  yes
>
>  # Overriding __MAKE_CONF makes sure that we don't re-parse
>
> Modified: head/lang/lua53/distinfo
>
> ==============================================================================
> --- head/lang/lua53/distinfo    Thu Jul 16 18:35:27 2015        (r392309)
> +++ head/lang/lua53/distinfo    Thu Jul 16 18:35:33 2015        (r392310)
> @@ -1,2 +1,2 @@
> -SHA256 (lua-5.3.0.tar.gz) =
> ae4a5eb2d660515eb191bfe3e061f2b8ffe94dce73d32cfd0de090ddcc0ddb01
> -SIZE (lua-5.3.0.tar.gz) = 278045
> +SHA256 (lua-5.3.1.tar.gz) =
> 072767aad6cc2e62044a66e8562f51770d941e972dc1e4068ba719cd8bffac17
> +SIZE (lua-5.3.1.tar.gz) = 282401
>
> Modified: head/lang/lua53/files/patch-src__liolib.c
>
> ==============================================================================
> --- head/lang/lua53/files/patch-src__liolib.c   Thu Jul 16 18:35:27 2015
>       (r392309)
> +++ head/lang/lua53/files/patch-src__liolib.c   Thu Jul 16 18:35:33 2015
>       (r392310)
> @@ -1,10 +1,10 @@
> ---- ./src/liolib.c.orig        2013-01-05 22:46:54.000000000 +0100
> -+++ ./src/liolib.c     2013-01-05 22:47:32.000000000 +0100
> -@@ -19,6 +19,7 @@
> +--- src/liolib.c.orig  2015-04-03 18:41:57 UTC
> ++++ src/liolib.c
> +@@ -16,6 +16,7 @@
>   #include <stdio.h>
>   #include <stdlib.h>
>   #include <string.h>
>  +#include <unistd.h>
>
> - #define liolib_c
> - #define LUA_LIB
> + #include "lua.h"
> +
> _______________________________________________
> svn-ports-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
>


More information about the svn-ports-all mailing list