diff options
Diffstat (limited to 'security/pam_ldap/files/patch-Makefile.in')
-rw-r--r-- | security/pam_ldap/files/patch-Makefile.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/pam_ldap/files/patch-Makefile.in b/security/pam_ldap/files/patch-Makefile.in new file mode 100644 index 000000000000..3b54f9d9549b --- /dev/null +++ b/security/pam_ldap/files/patch-Makefile.in @@ -0,0 +1,23 @@ +--- Makefile.in.orig 2010-12-17 14:34:23.708132000 -0500 ++++ Makefile.in 2010-12-17 14:35:48.000000000 -0500 +@@ -594,17 +594,13 @@ uninstall-man: uninstall-man5 + + install-exec-local: pam_ldap.so + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(libdir)/security +-@EXTENSION_SO_TRUE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so +-@EXTENSION_1_TRUE@@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/libpam_ldap.1 +-@EXTENSION_1_FALSE@@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1 +-@EXTENSION_1_FALSE@@EXTENSION_SO_FALSE@ (cd $(DESTDIR)$(libdir)/security; rm -f pam_ldap.so; ln -s pam_ldap.so.1 pam_ldap.so) ++ $(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: |