Bug 273986

Summary: lang/luajit-openresty: Fix broken symlink for luajit in bin
Product: Ports & Packages Reporter: Valter Nazianzeno <manipuladordedados>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Many People CC: fuz, manipuladordedados
Priority: --- Flags: bugzilla: maintainer-feedback? (mm)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 273922    
Attachments:
Description Flags
PATCH none

Description Valter Nazianzeno 2023-09-20 19:41:43 UTC
Created attachment 245078 [details]
PATCH

The port builds and installs fine, but it creates a broken symlink for the real file version.

>file /usr/local/bin/luajit
/usr/local/bin/luajit: broken symbolic link to luajit-2.1
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-09-22 01:23:35 UTC
Please check if you can address the other issues I raised, too.  I can commit a fix for bug #273922 when committing this port, but only if you produce a workable patch.
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-09-22 01:31:31 UTC
Sorry, this comment was meant to go on bug #273922 (what's up with me today?)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-09-22 01:52:12 UTC
Will commit this one under build fix blanket.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-22 05:09:09 UTC
A commit in branch main references this bug:

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(-)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-09-22 05:15:49 UTC
Thank you for your contribution.