patch-Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-Makefile,v 1.6 2017/05/05 10:21:47 jsg Exp $
  2. --- Makefile.orig Tue May 2 04:11:00 2017
  3. +++ Makefile Tue May 2 11:40:27 2017
  4. @@ -17,7 +17,7 @@ MAJVER= 2
  5. MINVER= 0
  6. RELVER= 5
  7. VERSION= $(MAJVER).$(MINVER).$(RELVER)
  8. -ABIVER= 5.1
  9. +ABIVER= ${MODLUA_VERSION}
  10. ##############################################################################
  11. #
  12. @@ -117,18 +117,13 @@ install: $(INSTALL_DEP)
  13. cd src && test -f $(FILE_A) && $(INSTALL_F) $(FILE_A) $(INSTALL_STATIC) || :
  14. $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
  15. cd src && test -f $(FILE_SO) && \
  16. - $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
  17. - $(LDCONFIG) $(INSTALL_LIB) && \
  18. - $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
  19. - $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
  20. + $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) || :
  21. cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)
  22. cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \
  23. $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
  24. $(RM) $(FILE_PC).tmp
  25. cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
  26. cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
  27. - $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)
  28. - @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
  29. uninstall:
  30. @echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ===="