blob: a62dbfc7991a6274e29c2b796fb6715f9b27d652 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- Makefile.am.orig Mon Jan 8 18:00:14 2001
+++ Makefile.am Mon Jun 11 11:44:42 2001
@@ -4,24 +4,18 @@
pam_ldap_so_SOURCES = pam_ldap.c pam_ldap.h md5.c md5.h
pam_ldap_so_LDFLAGS = @pam_ldap_so_LDFLAGS@
+CFLAGS = @CFLAGS@ -DLDAP_CONF_FILE=\"$(sysconfdir)/ldap.conf\"
install-exec-local: pam_ldap.so
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(libdir)/security
-if EXTENSION_SO
- $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so
-else
- $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1
- -rm -f $(DESTDIR)$(libdir)/security/pam_ldap.so
- -ln -s $(DESTDIR)$(libdir)/security/pam_ldap.so.1 $(DESTDIR)$(libdir)/security/pam_ldap.so
-endif
+ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
install-data-local:
@$(NORMAL_INSTALL)
- @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf; then \
+ @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.dist; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
- $(INSTALL_DATA) -o root -g root $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf; \
+ $(INSTALL_DATA) -o root -g wheel $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \
fi
uninstall-local:
|