patch-Makefile_in 1.1 KB

1234567891011121314151617181920212223242526272829
  1. $OpenBSD: patch-Makefile_in,v 1.5 2013/05/15 09:46:28 sebastia Exp $
  2. --- Makefile.in.orig Thu Sep 30 19:14:07 2010
  3. +++ Makefile.in Tue May 14 14:46:31 2013
  4. @@ -239,7 +239,7 @@ install-libraries: libraries $(SCRIPTS)
  5. @mkdir -p $(DESTDIR)$(prefix)/bin
  6. -for i in $(SCRIPT_LIST) ; do \
  7. if [ -f $$i ] ; then \
  8. - $(INSTALL_PROGRAM) $$i $(DESTDIR)$(prefix)/bin/$$i ; \
  9. + $(INSTALL_SCRIPT) $$i $(DESTDIR)$(prefix)/bin/$$i ; \
  10. rm -f $$i ; \
  11. else true; fi ; \
  12. done
  13. @@ -395,6 +395,7 @@ expect: exp_main_exp.o $(PKG_LIB_FILE)
  14. @EXP_BUILD_LIB_SPEC@ \
  15. @TCL_LIB_SPEC@ \
  16. @TCL_DL_LIBS@ @PKG_LIBS@ @MATH_LIBS@ \
  17. + @PTYLIB@ \
  18. @TCL_CC_SEARCH_FLAGS@ \
  19. @EXP_CC_SEARCH_FLAGS@
  20. $(SETUID) expect
  21. @@ -530,6 +531,7 @@ install-lib-binaries:
  22. echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
  23. $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
  24. stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
  25. + cd $(DESTDIR)$(pkglibdir)/../../; ln -s $(pkglibdir)/$$p $$p; \
  26. if test "x$$stub" = "xstub"; then \
  27. echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
  28. $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \