patch-src_Makefile_in 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. $OpenBSD: patch-src_Makefile_in,v 1.6 2016/12/20 20:12:29 juanfra Exp $
  2. --- src/Makefile.in.orig Mon Dec 19 21:24:59 2016
  3. +++ src/Makefile.in Mon Dec 19 21:27:43 2016
  4. @@ -296,30 +296,15 @@ install:
  5. for i in `(cd ecl && find . -name '*.h')`; do echo $$i; \
  6. $(INSTALL_DATA) ecl/$$i $(DESTDIR)$(includedir)/ecl/$$i; \
  7. done
  8. + $(INSTALL_DATA) help.doc $(DESTDIR)$(ecldir)
  9. $(INSTALL_SCRIPT) bin/ecl-config $(DESTDIR)$(bindir)
  10. - for i in build-stamp help.doc TAGS ; do \
  11. - $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir); \
  12. - done
  13. - for i in $(LSP_LIBRARIES) $(LIBRARIES); do \
  14. - if test -s $$i ; then \
  15. - if echo $$i | grep dll; then \
  16. - $(INSTALL_LIBRARY) $$i $(DESTDIR)$(bindir); \
  17. - fi; \
  18. - $(INSTALL_LIBRARY) $$i $(DESTDIR)$(libdir); \
  19. - fi \
  20. - done
  21. - if [ "x@SONAME3@" != "x" -a -f "@SONAME3@" ]; then \
  22. - ( $(INSTALL_LIBRARY) @SONAME3@ $(DESTDIR)$(libdir) && \
  23. - cd $(DESTDIR)$(libdir) && $(RM) -f @SONAME2@ @SONAME1@ @SONAME@ && \
  24. - $(LN_S) @SONAME3@ @SONAME2@ && \
  25. - $(LN_S) @SONAME3@ @SONAME1@ && \
  26. - $(LN_S) @SONAME3@ @SONAME@ ) \
  27. - fi
  28. + ${INSTALL_LIBRARY} libecl.so $(DESTDIR)$(libdir)/$(LSP_LIBRARIES)
  29. + cd $(DESTDIR)$(libdir) && ln -sf $(LSP_LIBRARIES) libecl.so
  30. $(INSTALL_PROGRAM) $(DPP) $(DESTDIR)$(ecldir)
  31. $(INSTALL_PROGRAM) $(ECL_MIN) $(DESTDIR)$(ecldir)
  32. for i in `cat modules`; do \
  33. case $$i in \
  34. - *.fas) $(INSTALL_PROGRAM) $$i $(DESTDIR)$(ecldir);; \
  35. + *.fas) $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir);; \
  36. *) $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir);; \
  37. esac \
  38. done