diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-05 09:26:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-05 10:04:02 +0000 |
commit | ca97c182b8e6364f5048e520f59863340293ac55 (patch) | |
tree | 531cb89abaa9691081fb24a835d42898592e3efc /main/rrdtool/lua-install-cmod.patch | |
parent | 3bb1b3859e07c22768ed937f04eedfd754822573 (diff) | |
download | aports-ca97c182b8e6364f5048e520f59863340293ac55.tar.bz2 aports-ca97c182b8e6364f5048e520f59863340293ac55.tar.xz |
main/rrdtool: minor fix for pkgconf
'pkg-config --cflags lua' returns a space with freedesktop and no
space with pkgconf, so the the following gave different result:
if test "$LUA_CFLAGS" = ""; then
...
Diffstat (limited to 'main/rrdtool/lua-install-cmod.patch')
-rw-r--r-- | main/rrdtool/lua-install-cmod.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/rrdtool/lua-install-cmod.patch b/main/rrdtool/lua-install-cmod.patch new file mode 100644 index 0000000000..672aea78a0 --- /dev/null +++ b/main/rrdtool/lua-install-cmod.patch @@ -0,0 +1,13 @@ +--- ./configure.orig ++++ ./configure +@@ -29330,7 +29330,9 @@ + $as_echo "$as_me: WARNING: Setting Lua include and lib flags to defaults in compat-5.1 and lua 5.1 sources" >&2;} + LUA_CFLAGS="-I/usr/local/include -I/usr/local/include/lua -I/usr/local/include/lua/$lua_vdot" + LUA_LFLAGS="-L/usr/local/lib -L/usr/local/lib/lua -L/usr/local/lib/lua/$lua_vdot $lua_libs" +- LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot" ++ if test -z "$LUA_INSTALL_CMOD"; then ++ LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot" ++ fi + fi + + # Check whether --enable-lua-site-install was given. |