From: Todd C. Miller Date: Tue, 13 Nov 2012 14:44:32 +0000 (-0500) Subject: Add support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib X-Git-Tag: SUDO_1_7_10p4~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b38a897c86a8134d0dccff72d4b22c65784fa0c1;p=sudo Add support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib path for HP-UX SOM binaries. --HG-- branch : 1.7 --- diff --git a/Makefile.in b/Makefile.in index 4f649af81..6d08381f3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -693,6 +693,7 @@ install-dirs: $(INSTALL) -d -O $(install_uid) -G $(install_gid) -m 0700 $(DESTDIR)$(timedir) install-binaries: install-dirs $(PROGS) + if [ X"$$SUDO_PREINSTALL_CMD" != X"" ]; then exec $$SUDO_PREINSTALL_CMD sudo; fi $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04755 sudo $(DESTDIR)$(sudodir)/sudo rm -f $(DESTDIR)$(sudodir)/sudoedit ln -s sudo $(DESTDIR)$(sudodir)/sudoedit