OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../lualdap/config-no-compat-5.1.patch
  5. # Copyright (C) 2006 - 2012 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./config.orig 2007-12-14 18:06:58.000000000 +0100
  17. +++ ./config 2012-05-24 10:31:06.564841080 +0200
  18. @@ -1,8 +1,8 @@
  19. # Installation directories
  20. # System's libraries directory (where binary libraries are installed)
  21. -LUA_LIBDIR= /usr/local/lib/lua/5.0
  22. +LUA_LIBDIR= $(shell pkg-config --variable INSTALL_CMOD lua)
  23. # Lua includes directory
  24. -LUA_INC= /usr/local/include
  25. +LUA_INC= $(shell pkg-config --variable includedir lua)
  26. # OpenLDAP includes directory
  27. OPENLDAP_INC= /usr/local/include
  28. # OpenLDAP library (an optional directory can be specified with -L<dir>)
  29. @@ -13,13 +13,12 @@
  30. #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
  31. # Lua version number (first and second digits of target version)
  32. -LUA_VERSION_NUM= 500
  33. +LUA_VERSION_NUM= $(shell pkg-config --variable=V lua | tr '.' '0')
  34. LIBNAME= $T.so.$V
  35. -COMPAT_DIR= ../compat/src
  36. # Compilation parameters
  37. WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -ansi
  38. -INCS= -I$(LUA_INC) -I$(OPENLDAP_INC) -I$(COMPAT_DIR)
  39. +INCS= -I$(LUA_INC) -I$(OPENLDAP_INC)
  40. CFLAGS= $(WARN) $(INCS)
  41. CC= gcc