$NetBSD: patch-af,v 1.3 2005/09/19 16:13:26 drochner Exp $ --- Makefile.in.orig 2005-09-18 19:47:08.000000000 +0100 +++ Makefile.in @@ -75,14 +75,14 @@ nss_ldap_so_LD = @nss_ldap_so_LD@ noinst_PROGRAMS = nss_ldap.so $(authmod) INST_UID = root @AIX_TRUE@INST_GID = system -@AIX_FALSE@INST_GID = root +@AIX_FALSE@INST_GID = wheel EXTRA_DIST = CVSVersionInfo.txt ChangeLog AUTHORS ANNOUNCE NEWS INSTALL README LICENSE.OpenLDAP COPYING ldap.conf nss_ldap.spec nsswitch.ldap man_MANS = nss_ldap.5 -nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c ldap-rpc.c ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c dnsconfig.c irs-nss.c pagectrl.c +nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c ldap-rpc.c ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c dnsconfig.c irs-nss.c pagectrl.c netbsd.c nss_ldap_so_LDFLAGS = @nss_ldap_so_LDFLAGS@ @@ -122,7 +122,7 @@ nss_ldap_so_OBJECTS = ldap-nss.o ldap-p ldap-rpc.o ldap-hosts.o ldap-network.o ldap-proto.o ldap-spwd.o \ ldap-alias.o ldap-service.o ldap-schema.o ldap-ethers.o ldap-bp.o \ ldap-automount.o util.o ltf.o snprintf.o resolve.o dnsconfig.o \ -irs-nss.o pagectrl.o +irs-nss.o pagectrl.o netbsd.o nss_ldap_so_LDADD = $(LDADD) nss_ldap_so_DEPENDENCIES = NSS_LDAP_OBJECTS = ldap-nss.o ldap-grp.o ldap-pwd.o ldap-netgrp.o \ @@ -498,10 +498,8 @@ maintainer-clean-generic clean mostlycle install-data-local: @$(NORMAL_INSTALL) - @if test ! -f $(DESTDIR)$(NSS_LDAP_PATH_CONF); then \ - $(mkinstalldirs) $(DESTDIR)$(dir $(NSS_LDAP_PATH_CONF)); \ - $(INSTALL_DATA) -o $(INST_UID) -g $(INST_GID) $(srcdir)/ldap.conf $(DESTDIR)$(NSS_LDAP_PATH_CONF); \ - fi + $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + $(INSTALL_DATA) -o $(INST_UID) -g $(INST_GID) $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/nss_ldap.conf $(INSTALL_DATA) -o $(INST_UID) -g $(INST_GID) $(srcdir)/nsswitch.ldap $(DESTDIR)$(sysconfdir)/nsswitch.ldap; uninstall-local: