Bug 276060

Summary: math/octave: fix plist with QT5=off
Product: Ports & Packages Reporter: Tobias C. Berner <tcberner>
Component: Individual Port(s)Assignee: Stephen Montgomery-Smith <stephen>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (stephen)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tobias C. Berner freebsd_committer freebsd_triage 2024-01-01 18:41:30 UTC
Moin moin 

When QT5=off, the .qm files are not generated:
[...]
===>  Building package for octave-8.4.0_1
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/lib/octave/8.4.0/liboctgui.so:No such file or directory
[...]

The following patch should solve that:
https://people.freebsd.org/~tcberner/patches/0001-math-octave-fix-plist-when-QT5-off.patch


mfg Tobias
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-01 21:22:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3dea3d89c94881c06fe0cb3776f77456651d5c9d

commit 3dea3d89c94881c06fe0cb3776f77456651d5c9d
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-01-01 21:20:12 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-01-01 21:20:12 +0000

    math/octave: FIX PLIST WITH QT5=OFF

    Bump portrevision.

    PR:             276060
    Reported by:    tcberner@

 math/octave/Makefile  |  2 +-
 math/octave/pkg-plist | 46 +++++++++++++++++++++++-----------------------
 2 files changed, 24 insertions(+), 24 deletions(-)
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2024-01-01 21:23:37 UTC
Thank you for the helpful patch.

Wasn't sure if a portrevision bump was necessary.  Decided to be better safe than sorry.