diff --git a/lang/luajit-openresty/Makefile b/lang/luajit-openresty/Makefile index 80c135e92b91..2c611932ebb6 100644 --- a/lang/luajit-openresty/Makefile +++ b/lang/luajit-openresty/Makefile @@ -1,6 +1,6 @@ PORTNAME= luajit DISTVERSIONPREFIX= v -DISTVERSION= 2.1-20220411 +DISTVERSION= 2.1-20220915 CATEGORIES= lang PKGNAMESUFFIX= -openresty @@ -39,6 +39,8 @@ USE_GCC=yes .endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${LUAJIT_VERSION} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libluajit-5.1.so.${LUAJIT_SOVERSION} ${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 diff --git a/lang/luajit-openresty/distinfo b/lang/luajit-openresty/distinfo index 3c64b20b5ec5..25c541075d50 100644 --- a/lang/luajit-openresty/distinfo +++ b/lang/luajit-openresty/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1649706479 -SHA256 (openresty-luajit2-v2.1-20220411_GH0.tar.gz) = d3f2c870f8f88477b01726b32accab30f6e5d57ae59c5ec87374ff73d0794316 -SIZE (openresty-luajit2-v2.1-20220411_GH0.tar.gz) = 1141007 +TIMESTAMP = 1665676839 +SHA256 (openresty-luajit2-v2.1-20220915_GH0.tar.gz) = a6104d4fa342d864ae00cb3313b07091af02dc61294b1d8fce1e17779998b497 +SIZE (openresty-luajit2-v2.1-20220915_GH0.tar.gz) = 1143798 diff --git a/lang/luajit-openresty/files/patch-Makefile b/lang/luajit-openresty/files/patch-Makefile index c3e37d347c2d..44b8ac5a3f64 100644 --- a/lang/luajit-openresty/files/patch-Makefile +++ b/lang/luajit-openresty/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2019-06-26 21:12:49 UTC +--- Makefile.orig 2022-10-13 16:02:11 UTC +++ Makefile @@ -25,7 +25,7 @@ ABIVER= 5.1 # Change the installation path as needed. This automatically adjusts @@ -9,15 +9,15 @@ export MULTILIB= lib ############################################################################## -@@ -34,6 +34,7 @@ INSTALL_BIN= $(DPREFIX)/bin - INSTALL_LIB= $(DPREFIX)/$(MULTILIB) +@@ -35,6 +35,7 @@ INSTALL_LIB= $(DPREFIX)/$(MULTILIB) INSTALL_SHARE= $(DPREFIX)/share - INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) + INSTALL_DEFINC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) + INSTALL_INC= $(INSTALL_DEFINC) +INSTALL_LIBD= $(DPREFIX)/libdata INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(VERSION) INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit -@@ -41,8 +42,7 @@ INSTALL_LMODD= $(INSTALL_SHARE)/lua +@@ -42,8 +43,7 @@ INSTALL_LMODD= $(INSTALL_SHARE)/lua INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER) INSTALL_CMODD= $(INSTALL_LIB)/lua INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER) @@ -27,7 +27,7 @@ INSTALL_TNAME= luajit-$(VERSION) INSTALL_TSYMNAME= luajit -@@ -63,8 +63,8 @@ INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME) +@@ -64,8 +64,8 @@ INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME) INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME) INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME) @@ -38,7 +38,7 @@ UNINSTALL_DIRS= $(INSTALL_JITLIB) $(INSTALL_LJLIBD) $(INSTALL_INC) \ $(INSTALL_LMOD) $(INSTALL_LMODD) $(INSTALL_CMOD) $(INSTALL_CMODD) -@@ -121,10 +121,8 @@ install: $(INSTALL_DEP) +@@ -125,10 +125,8 @@ install: $(INSTALL_DEP) $(RM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) cd src && test -f $(FILE_SO) && \ $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ @@ -49,7 +49,7 @@ cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \ $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \ $(RM) $(FILE_PC).tmp -@@ -143,7 +141,6 @@ uninstall: +@@ -147,7 +145,6 @@ uninstall: for file in $(FILES_INC); do \ $(UNINSTALL) $(INSTALL_INC)/$$file; \ done