exherbo-impulze/packages/dev-lua/oocairo/files/oocairo-1.3-lua_fix.patch
Daniel Mierswa 58bd66cb4b initial oocairo exheres
needed by recent awesome::desktop[=scm]
2010-10-04 18:46:44 +02:00

25 lines
814 B
Diff

Upstream: Yes
Reason: only debian uses lua5.1.pc
Source: Daniel Mierswa <impulze@impulze.org>
--- oocairo-1.3/configure.ac.orig 2010-10-04 18:40:03.000000000 +0200
+++ oocairo-1.3/configure.ac 2010-10-04 18:40:12.000000000 +0200
@@ -7,7 +7,7 @@
AC_PROG_LN_S
AC_PATH_PROG([POD2MAN], [pod2man])
-PKG_CHECK_MODULES(DEPS, lua5.1 cairo)
+PKG_CHECK_MODULES(DEPS, lua cairo)
AC_MSG_CHECKING([lua library dir])
# First, we need to figure out our own prefix
@@ -16,7 +16,7 @@
MY_PREFIX=${ac_default_prefix}
fi
# Then we ask lua where to install modules under that prefix
-lualibdir=`$PKG_CONFIG lua5.1 --define-variable=prefix=${MY_PREFIX} --variable=INSTALL_CMOD`
+lualibdir=`$PKG_CONFIG lua --define-variable=prefix=${MY_PREFIX} --variable=INSTALL_CMOD`
AC_SUBST([lualibdir])
AC_MSG_RESULT([$lualibdir])