pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(devel/lua-alt-getopt) Re: heads up: Lua changes



I'm having problem with devel/lua-alt-getopt (in pbulk) as:

| ===> Installing dependencies for lua52-alt-getopt-0.7.0nb1
| ==========================================================================
| The following variables will affect the build process of this package,
| lua52-alt-getopt-0.7.0nb1.  Their current value is shown below:
| 
|         * LUA_VERSION_DEFAULT = 52
| 
| Based on these variables, the following variables have been set:
| 
|         * LUA_PACKAGE = lua52
| 
| You may want to abort the process now with CTRL-C and change their value
| before continuing.  Be sure to run `/usr/bin/make clean' after
| the changes.
| ==========================================================================
| ERROR: [reduce-depends.awk] invalid dependency pattern: 
lua52>=5.2<5.3../../lang/lua52
| *** Error code 1
| 
| Stop.
| make: stopped in /usr/pkgsrc/devel/lua-alt-getopt

on NetBSD/amd64 6.1.2.
My work-around is attached. (just a truely interim ...)
---
Makoto Fujiwara

Index: lang/lua/luaversion.mk
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/lang/lua/luaversion.mk,v
retrieving revision 1.3
diff -u -r1.3 luaversion.mk
--- lang/lua/luaversion.mk      30 Oct 2013 10:52:53 -0000      1.3
+++ lang/lua/luaversion.mk      3 Nov 2013 13:59:39 -0000
@@ -109,13 +109,13 @@
 LUA_PACKAGE=           lua52
 LUA_PKGSRCDIR=         ../../lang/lua52
 LUA_PKGPREFIX=         lua52
-LUA_BASEDEPENDS=       lua52>=5.2<5.3${LUA_PKGSRCDIR}
+LUA_BASEDEPENDS=       lua52>=5.2:${LUA_PKGSRCDIR}
 
 .elif ${_LUA_VERSION} == "51"
 LUA_PACKAGE=           lua51
 LUA_PKGSRCDIR=         ../../lang/lua51
 LUA_PKGPREFIX=         lua51
-LUA_BASEDEPENDS=       lua51>=5.1<5.2:${LUA_PKGSRCDIR}
+LUA_BASEDEPENDS=       lua51>=5.1:${LUA_PKGSRCDIR}
 
 .else
 PKG_FAIL_REASION+=     "No valid Lua version found"



Home | Main Index | Thread Index | Old Index