diff options
Diffstat (limited to 'recipes-support/openldap/openldap-2.4.39/smbk5pwd-makefile.patch')
| -rw-r--r-- | recipes-support/openldap/openldap-2.4.39/smbk5pwd-makefile.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/recipes-support/openldap/openldap-2.4.39/smbk5pwd-makefile.patch b/recipes-support/openldap/openldap-2.4.39/smbk5pwd-makefile.patch deleted file mode 100644 index 17d1b56..0000000 --- a/recipes-support/openldap/openldap-2.4.39/smbk5pwd-makefile.patch +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | --- a/contrib/slapd-modules/smbk5pwd/Makefile | ||
| 2 | +++ b/contrib/slapd-modules/smbk5pwd/Makefile | ||
| 3 | @@ -14,17 +14,17 @@ | ||
| 4 | |||
| 5 | LDAP_SRC = ../../.. | ||
| 6 | LDAP_BUILD = ../../.. | ||
| 7 | -LDAP_INC = -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd | ||
| 8 | -LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/libldap_r.la \ | ||
| 9 | - $(LDAP_BUILD)/libraries/liblber/liblber.la | ||
| 10 | +LDAP_INC = -I$(LDAP_BUILD)/debian/build/include -I$(LDAP_BUILD)/debian/build/servers/slapd -I$(LDAP_BUILD)/include -I$(LDAP_SRC)/include -I$(LDAP_SRC)/servers/slapd | ||
| 11 | +LDAP_LIB = $(LDAP_BUILD)/debian/build/libraries/libldap_r/libldap_r.la \ | ||
| 12 | + $(LDAP_BUILD)/debian/build/libraries/liblber/liblber.la | ||
| 13 | |||
| 14 | SSL_INC = | ||
| 15 | -SSL_LIB = -lcrypto | ||
| 16 | +SSL_LIB = -lgcrypt | ||
| 17 | |||
| 18 | -HEIMDAL_INC = -I/usr/heimdal/include | ||
| 19 | -HEIMDAL_LIB = -L/usr/heimdal/lib -lkrb5 -lkadm5srv | ||
| 20 | +HEIMDAL_INC = -I/usr/include | ||
| 21 | +HEIMDAL_LIB = -lkrb5 -lkadm5srv | ||
| 22 | |||
| 23 | -LIBTOOL = $(LDAP_BUILD)/libtool | ||
| 24 | +LIBTOOL = $(LDAP_BUILD)/debian/build/libtool | ||
| 25 | CC = gcc | ||
| 26 | OPT = -g -O2 -Wall | ||
| 27 | # Omit DO_KRB5, DO_SAMBA or DO_SHADOW if you don't want to support it. | ||
| 28 | @@ -35,13 +35,13 @@ LIBS = $(LDAP_LIB) $(HEIMDAL_LIB) $(SSL_ | ||
| 29 | PROGRAMS = smbk5pwd.la | ||
| 30 | LTVER = 0:0:0 | ||
| 31 | |||
| 32 | -prefix=/usr/local | ||
| 33 | +prefix=/usr | ||
| 34 | exec_prefix=$(prefix) | ||
| 35 | -ldap_subdir=/openldap | ||
| 36 | +ldap_subdir=/ldap | ||
| 37 | |||
| 38 | libdir=$(exec_prefix)/lib | ||
| 39 | libexecdir=$(exec_prefix)/libexec | ||
| 40 | -moduledir = $(libexecdir)$(ldap_subdir) | ||
| 41 | +moduledir = $(libdir)$(ldap_subdir) | ||
| 42 | |||
| 43 | .SUFFIXES: .c .o .lo | ||
| 44 | |||
| 45 | @@ -55,7 +55,7 @@ smbk5pwd.la: smbk5pwd.lo | ||
| 46 | -rpath $(moduledir) -module -o $@ $? $(LIBS) | ||
| 47 | |||
| 48 | clean: | ||
| 49 | - rm -rf *.o *.lo *.la .libs | ||
| 50 | + $(LIBTOOL) --mode=clean rm -f | ||
| 51 | |||
| 52 | install: $(PROGRAMS) | ||
| 53 | mkdir -p $(DESTDIR)$(moduledir) | ||
