From b38a897c86a8134d0dccff72d4b22c65784fa0c1 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 13 Nov 2012 09:44:32 -0500 Subject: [PATCH] Add support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib path for HP-UX SOM binaries. --HG-- branch : 1.7 --- Makefile.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0