1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/security/pam_ldap/files/patch-aa
Joe Marcus Clarke 8c9eae59d5 * Update to 1.8.5
* Allow the configuration file to be overridden by defining
  PAM_LDAP_CONF at build time.

PR:		142468
Submitted by:	skv
2010-01-10 23:39:04 +00:00

32 lines
1.5 KiB
Plaintext

--- Makefile.in.orig 2010-01-08 12:09:42.124679000 +0000
+++ Makefile.in 2010-01-08 12:16:10.000000000 +0000
@@ -594,24 +594,20 @@
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:
@$(NORMAL_UNINSTALL)
vers.c: $(top_srcdir)/CVSVersionInfo.txt
- CVSVERSIONDIR=$(top_srcdir) vers_string -v
+ CVSVERSIONDIR=$(top_srcdir) $(top_srcdir)/vers_string -v
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: