# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lualdap/config-no-compat-5.1.patch # Copyright (C) 2006 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- ./config.orig 2007-12-14 18:06:58.000000000 +0100 +++ ./config 2012-05-24 10:31:06.564841080 +0200 @@ -1,8 +1,8 @@ # Installation directories # System's libraries directory (where binary libraries are installed) -LUA_LIBDIR= /usr/local/lib/lua/5.0 +LUA_LIBDIR= $(shell pkg-config --variable INSTALL_CMOD lua) # Lua includes directory -LUA_INC= /usr/local/include +LUA_INC= $(shell pkg-config --variable includedir lua) # OpenLDAP includes directory OPENLDAP_INC= /usr/local/include # OpenLDAP library (an optional directory can be specified with -L