[Bug 232732] build of expect in lang/expect does not install autoexpect script correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 29 11:06:54 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232732

Pietro Cerutti <gahr at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #13 from Pietro Cerutti <gahr at FreeBSD.org> ---
Better yet, modify the scripts to invoke the correct TCLSH. That would be as
simple as:

@@ -9,11 +9,12 @@
        -for i in $(SCRIPT_LIST) ; do \
          if [ -f $$i ] ; then \
 -          $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \
++          sed -i'' -e 's|tclsh|${TCLSH_PROG}|' $$i ; \
 +          $(INSTALL_SCRIPT) $$i $(DESTDIR)$(datadir)/$$i ; \
            rm -f $$i ; \
          else true; fi ; \
        done

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-tcltk mailing list