--- expect5.45/Makefile.in.~1~ 2010-09-30 10:14:07.000000000 -0700 +++ expect5.45/Makefile.in 2011-05-10 14:12:01.229523073 -0700 @@ -236,10 +236,10 @@ $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \ done; # install standalone scripts and their man pages, if requested - @mkdir -p $(DESTDIR)$(prefix)/bin + @mkdir -p $(DESTDIR)$(prefix)/demo/expect -for i in $(SCRIPT_LIST) ; do \ if [ -f $$i ] ; then \ - $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \ + $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/demo/expect/$$i ; \ rm -f $$i ; \ else true; fi ; \ done @@ -257,9 +257,10 @@ $(INSTALL_DATA) $(srcdir)/expect.man $(DESTDIR)$(mandir)/man1/expect.1 # install man page for Expect library $(INSTALL_DATA) $(srcdir)/libexpect.man $(DESTDIR)$(mandir)/man3/libexpect.3 + @mkdir -p $(DESTDIR)$(prefix)/demo/expect/man/man1 -for i in $(SCRIPT_MANPAGE_LIST) ; do \ if [ -f $(srcdir)/example/$$i.man ] ; then \ - $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(mandir)/man1/$$i.1 ; \ + $(INSTALL_DATA) $(srcdir)/example/$$i.man $(DESTDIR)$(prefix)/demo/expect/man/man1/$$i.1 ; \ else true; fi ; \ done --- expect5.45.4/Makefile.in.orig 2020-05-24 13:52:36.880881526 +0000 +++ expect5.45.4/Makefile.in 2020-05-24 13:52:53.755606483 +0000 @@ -148,9 +148,9 @@ RANLIB = @RANLIB@ RANLIB_STUB = @RANLIB_STUB@ SHLIB_CFLAGS = @SHLIB_CFLAGS@ -SHLIB_LD = @SHLIB_LD@ +SHLIB_LD = @SHLIB_LD@ @LDFLAGS_DEFAULT@ SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -STLIB_LD = @STLIB_LD@ +STLIB_LD = @STLIB_LD@ @LDFLAGS_DEFAULT@ TCL_DEFS = @TCL_DEFS@ TCL_BIN_DIR = @TCL_BIN_DIR@ TCL_SRC_DIR = @TCL_SRC_DIR@