Skip to contentSkip to conversation

lua: fix license path for lua 5.2

PATCH New Frank Hunleth 2 participants 2 messages Sep 12, 2014 – Sep 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lua: fix license path for lua 5.2

The file containing the license for lua 5.1 was removed and the license text was added to the readme in 5.2.

---
 package/lua/lua.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/lua/lua.mk +4 -0
index 9afec6c..b95fd30 100644
@@ -12,7 +12,11 @@ endif
 LUA_SITE = http://www.lua.org/ftp
 LUA_INSTALL_STAGING = YES
 LUA_LICENSE = MIT
+ifeq ($(BR2_PACKAGE_LUA_5_2),y)
+LUA_LICENSE_FILES = doc/readme.html
+else
 LUA_LICENSE_FILES = COPYRIGHT
+endif
 
 LUA_PROVIDES = luainterpreter
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 lua: fix license path for lua 5.2

Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

The file containing the license for lua 5.1 was removed and the license text was added to the readme in 5.2.

---
 package/lua/lua.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/lua/lua.mk +0 -0
index 9afec6c..b95fd30 100644

package/lua/lua.mk endif · line 19

Quoted 8 lines
package/lua/lua.mk +4 -0
@@ -12,7 +12,11 @@ endif
 LUA_SITE = http://www.lua.org/ftp
 LUA_INSTALL_STAGING = YES
 LUA_LICENSE = MIT
+ifeq ($(BR2_PACKAGE_LUA_5_2),y)
+LUA_LICENSE_FILES = doc/readme.html
+else
 LUA_LICENSE_FILES = COPYRIGHT
+endif

I prefer to swap the logic as newer versions are more likely to be similar to 5.2 than 5.1.

Committed with that changed, thanks.

Signature · 1 line
Bye, Peter Korsgaard