pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45169: devel/lua-stdlib needs (missing) lrexlib
The following reply was made to PR pkg/45169; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/45169: devel/lua-stdlib needs (missing) lrexlib
Date: Sun, 24 Jul 2011 12:02:01 +0300
> Trying to use the 'std' module provided by devel/lua-stdlib
> results in a traceback about a missing 'lrexlib'.
>>How-To-Repeat:
>
> % lua
> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> > require 'std'
> /usr/pkg/share/lua/5.1/rex.lua:7: module 'rex_pcre' not found:
> no field package.preload['rex_pcre']
I've just imported lrexlib packages to pkgsrc/devel.
Does the following patch fix the problem with lua-stdlib?
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/lua-stdlib/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile 12 Feb 2009 01:45:01 -0000 1.1.1.1
+++ Makefile 24 Jul 2011 08:57:19 -0000
@@ -3,9 +3,10 @@
.include "../../devel/lua-stdlib/Makefile.common"
PKGNAME= ${DISTNAME:S/stdlib/${LUA_PKGPREFIX}-stdlib/}
-
+PKGREVISION= 1
COMMENT= Standard library for Lua programming language
+DEPENDS+= lua-lrexlib-pcre-[0-9]*:../../devel/lua-lrexlib-pcre
INSTALLATION_DIRS+= ${LUA_LDIR}
.include "../../lang/lua/module.mk"
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index