Bug 262640 - accessibility/qt5-speech: Cannot build with both backends enabled
Summary: accessibility/qt5-speech: Cannot build with both backends enabled
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-18 04:54 UTC by Ting-Wei Lan
Modified: 2022-09-08 12:41 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2022-03-18 04:54:47 UTC
https://cgit.freebsd.org/ports/commit/?id=ca95a672326786dde153c77800ae33139fd4ea58

The commit says 'allow to build with both backends disabled', but it also disallows building with both backends enabled.

$ make showconfig
====> You cannot select multiple options from the BACKEND radio
=====> Only one of these must be defined: SPEECHD FLITE
*** Error code 1

Is it an expected behavior? If I revert the commit, the port can be built successfully with both backends enabled.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-03-18 19:22:01 UTC
Moin moin 

I'd say it should likely be a _GROUP 

mfg Tobias
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-09-08 12:41:27 UTC
A commit in branch main references this bug:

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

commit b2563f98f51a9e84169de2951b105b645a993ab5
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-09-08 12:36:08 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-09-08 12:40:14 +0000

    accessibility/qt5-speech: allow to build with both backend enabled

    Followup to ca95a67 which introduced a regression of being unable to
    build with both backends enabled. This commit allows all backends
    combinations including each individual backend, both and none.

    PR:             262640
    Reported by:    lantw44@gmail.com
    Approved by:    portmgr blanket, maintainer timeout (kde, 6 months)

 accessibility/qt5-speech/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)