Skip to content

Commit

Permalink
lang/luajit-devel: Fix bin/luajit symlink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
assistcontrol committed Oct 14, 2022
1 parent d2f59ff commit 5e9ae99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/luajit-devel/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= luajit
DISTVERSION= 2.1.0.20221004
PORTREVISION= 1
CATEGORIES= lang
PKGNAMESUFFIX= -devel
DISTNAME= LuaJIT-${DISTVERSION}
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5e9ae99

Please sign in to comment.