Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 05:08:12 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 33a35d1c1c13 - main - lang/luajit-openresty: Fix broken symlink for luajit in bin
Message-ID:  <202309220508.38M58CiK066777@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33a35d1c1c1308a5eb6c4f85e557b6eedde8e496

commit 33a35d1c1c1308a5eb6c4f85e557b6eedde8e496
Author:     Valter Nazianzeno <manipuladordedados@gmail.com>
AuthorDate: 2023-09-20 17:56:21 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:56:49 +0000

    lang/luajit-openresty: Fix broken symlink for luajit in bin
    
    The port builds and installs fine, but it creates a broken symlink for
    the real file version.
    
    PR:             273986
    Approved by:    portmgr (build fix blanket)
---
 lang/luajit-openresty/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lang/luajit-openresty/Makefile b/lang/luajit-openresty/Makefile
index 205374825780..6f73e9739b36 100644
--- a/lang/luajit-openresty/Makefile
+++ b/lang/luajit-openresty/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	luajit
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.1-20230911
+PORTREVISION=	1
 CATEGORIES=	lang
 PKGNAMESUFFIX=	-openresty
 
@@ -41,7 +42,7 @@ USE_GCC=yes
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${LUAJIT_SOVERSION}
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libluajit-5.1.so.${LUAJIT_SOVERSION}
-	${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \
+	${LN} -sf ${PORTNAME}-${LUAJIT_SOVERSION} \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309220508.38M58CiK066777>