glibc comes with a bunch of config files that every distro hand installs
because glibc itself doesn't take care of it. Update glibc to do the work.
routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai \
nscd_initgroups nscd_getserv_r nscd_netgroup
aux := nscd_helper
+install-others = $(inst_sysconfdir)/nscd.conf
endif
# To find xmalloc.c
else
$(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a
endif
+
+$(inst_sysconfdir)/nscd.conf: nscd.conf $(+force)
+ $(do-install)
others := getconf
install-bin := getconf
install-others-programs := $(inst_libexecdir)/getconf
+install-others = $(inst_sysconfdir)/gai.conf
before-compile += testcases.h ptestcases.h $(objpfx)posix-conf-vars-def.h
mv -f $@/$$spec.new $@/$$spec; \
done < $(objpfx)getconf.speclist
+$(inst_sysconfdir)/gai.conf: gai.conf $(+force)
+ $(do-install)
+
$(objpfx)getconf.speclist: getconf-speclist.c posix-envs.def
$(compile.c) -E -o - \
| sed -n -e '/@@@PRESENT_/s/@@@PRESENT_//p' > $@.new