1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

lang/luajit-devel: Fix bin/luajit symlink

The bin/luajit symlink dangles:
$ ls -l /usr/local/bin/luajit*
lrwxr-xr-x  1 root  wheel      21 Oct 14 11:33 /usr/local/bin/luajit -> luajit-2.1.0.20221004
-rwxr-xr-x  1 root  wheel  633096 Oct 14 11:33 /usr/local/bin/luajit-2.1.0-beta3
This commit is contained in:
Adam Weinberger 2022-10-14 16:27:03 -06:00
parent d2f59ffa42
commit 5e9ae99c3e

View File

@ -1,5 +1,6 @@
PORTNAME= luajit
DISTVERSION= 2.1.0.20221004
PORTREVISION= 1
CATEGORIES= lang
PKGNAMESUFFIX= -devel
DISTNAME= LuaJIT-${DISTVERSION}
@ -35,7 +36,7 @@ USE_GCC=yes
.endif
post-install:
${LN} -sf ${PORTNAME}-${DISTVERSION} \
${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1