fillets-ng/fillets-ng-use-lua-5.1.pc.patch
Matthias Mailänder 6b6fd5c3d6 Accepting request 345063 from home:dimstar:Factory
- Add fillets-ng-use-lua-5.1.pc.patch: detect lua-5.1.pc; fixes
  build on current TW setups.
- Add libtool BuildRequires and call to autoreconf, as above patch
  touches the build system.

OBS-URL: https://build.opensuse.org/request/show/345063
OBS-URL: https://build.opensuse.org/package/show/games/fillets-ng?expand=0&rev=35
2015-11-18 18:32:17 +00:00

14 lines
586 B
Diff

Index: fillets-ng-1.0.1/configure.in
===================================================================
--- fillets-ng-1.0.1.orig/configure.in
+++ fillets-ng-1.0.1/configure.in
@@ -42,7 +42,7 @@ dnl Debian, and possibly other systems,
LUA_CFLAGS="`[$LUACONFIG --include]`"
LUA_LIBS="`[$LUACONFIG --static]`"
else dnl ...otherwise, attempt to guess
- PKG_CHECK_MODULES(LUA, lua, [], [
+ PKG_CHECK_MODULES(LUA, lua-5.1, [], [
LUA_CFLAGS=""
LUA_LIBS=""
AC_CHECK_LIB(lua, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua",