Bug 276060 - math/octave: fix plist with QT5=off
Summary: math/octave: fix plist with QT5=off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 18:41 UTC by Tobias C. Berner
Modified: 2024-01-01 21:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.