On 2025-06-26 09:09, Dag-Erling Smørgrav wrote:
void <[email protected]> writes:
Edward Sanford Sutton, III writes:
> No default versions type of variable that I know of. you could try
> make.conf entry something like
> OPTIONS_SET+=QT6
I'll try setting that and also OPTIONS_UNSET+=QT5.
Maybe it's in the 'set' functionality of poudriere (I've not used
that functionality before though).

If that doesn't work then I'll have to @qt6 all the qt ports
when building.

No need to guess:

% git -P grep '^OPTIONS.*QT6'
editors/libreoffice/Makefile:OPTIONS_RADIO_QT=  QT5 QT6
emulators/virtualbox-ose-71/Makefile:OPTIONS_DEFAULT= AIO DBUS QT6 UDPTUNNEL VNC
WEBSERVICE X11
emulators/yuzu/Makefile:OPTIONS_DEFAULT=PULSEAUDIO JACK LTO QT6 SNDIO VAAPI VULKAN WEBENGINE
emulators/yuzu/Makefile:OPTIONS_SINGLE_GUI=     QT5 QT6
games/moonlight-qt/Makefile:OPTIONS_DEFAULT=    QT6
games/moonlight-qt/Makefile:OPTIONS_SINGLE_QT=  QT6 QT5
games/qnetwalk/Makefile:OPTIONS_DEFINE= QT6 SOUND DOCS NLS
games/qnetwalk/Makefile:OPTIONS_DEFAULT=QT6 SOUND
graphics/qimgv/Makefile:OPTIONS_DEFAULT=        EXIV2 OPENCV QT6 VIDEO
graphics/qimgv/Makefile:OPTIONS_SINGLE_QT=      QT5 QT6
math/octave/Makefile:OPTIONS_DEFINE=    DOCS JAVA QT6
math/octave/Makefile:OPTIONS_DEFAULT=   JAVA OPENBLAS QT6
security/pinentry/Makefile:OPTIONS_SINGLE_FRONTEND= EFL FLTK GNOME GTK2 NCURSES QT5 QT6 TTY
x11-wm/hyprland/Makefile:OPTIONS_DEFINE=        QT6 X11
x11-wm/hyprland/Makefile:OPTIONS_DEFAULT=QT6 X11

(this may miss a few due to line continuation)

% git -P grep '^FLAVORS.*qt6'
accessibility/libqaccessibilityclient/Makefile:FLAVORS= qt5 qt6
archivers/quazip/Makefile:FLAVORS=      qt5 qt6
audio/kid3/Makefile:FLAVORS=    qt6 kf6
audio/mixxx/Makefile:FLAVORS=   qt5 qt6
cad/qcad/Makefile:FLAVORS=      qt5 #qt6
comms/gqrx/Makefile:FLAVORS=    qt6 qt5
deskutils/fbreader/Makefile:FLAVORS=    gtk2 qt6
deskutils/fet/Makefile:FLAVORS= qt6 qt5
deskutils/qownnotes/Makefile:FLAVORS=   qt5 qt6
deskutils/syncthingtray/Makefile:FLAVORS=       qt6 qt5
devel/gammaray/Makefile:FLAVORS=        qt6 qt5
devel/iaito/Makefile:FLAVORS=           qt6 qt5
devel/libdbusmenu-qt/Makefile:FLAVORS=  qt5 qt6
devel/qca/Makefile:FLAVORS=     qt5 qt6
devel/qcoro/Makefile:FLAVORS=   qt5 qt6
devel/qscintilla2-designerplugin/Makefile:FLAVORS=      qt5 qt6
devel/qscintilla2/Makefile:FLAVORS=     qt5 qt6
devel/qxlsx/Makefile:FLAVORS=   qt5 qt6
emulators/86Box/Makefile:FLAVORS=               qt6 qt5
emulators/yuzu/Makefile:FLAVORS=        qt6 qt5
games/LibreMines/Makefile:FLAVORS=      qt5 qt6
games/melonds/Makefile:FLAVORS= qt5 qt6
graphics/converseen/Makefile:FLAVORS=   qt5 qt6
graphics/kcolorpicker/Makefile:FLAVORS= qt5 qt6
graphics/kdegraphics-mobipocket/Makefile:FLAVORS=       qt6 qt5
graphics/kimageannotator/Makefile:FLAVORS=              qt5 qt6
graphics/libkdcraw/Makefile:FLAVORS=    qt6 qt5
graphics/libkexiv2/Makefile:FLAVORS=    qt6 qt5
graphics/qcustomplot/Makefile:FLAVORS=  qt5 qt6
graphics/xpdf4/Makefile:FLAVORS=        qt5 qt6
multimedia/audacious-plugins/Makefile:FLAVORS=  qt6 qt5 gtk2 gtk3
multimedia/audacious/Makefile:FLAVORS=  qt6 qt5 gtk3 gtk2
multimedia/mediaelch/Makefile:FLAVORS=  qt6 qt5
multimedia/mkvtoolnix/Makefile:FLAVORS= qt6 nogui
multimedia/mlt7-glaxnimate/Makefile:FLAVORS=    qt5 qt6
multimedia/mlt7-qt/Makefile:FLAVORS=    qt5 qt6
multimedia/phonon-vlc/Makefile:FLAVORS= qt5 qt6
multimedia/phonon/Makefile:FLAVORS=     qt5 qt6
net-im/libaccounts-qt/Makefile:FLAVORS= qt5 qt6
net-p2p/tremotesf/Makefile:FLAVORS=     qt6 qt5
print/pdfmixtool/Makefile:FLAVORS=      qt5 qt6
print/qpdfview/Makefile:FLAVORS=        qt6 qt5
security/qgpgme/Makefile:FLAVORS=       qt6 qt5
security/qtkeychain/Makefile:FLAVORS=   qt5 qt6
security/xca/Makefile:FLAVORS=          qt5 qt6
sysutils/bareos-traymonitor/Makefile:FLAVORS=   qt5 qt6
sysutils/bareos23-traymonitor/Makefile:FLAVORS= qt5 qt6
sysutils/polkit-qt-1/Makefile:FLAVORS=  qt5 qt6
sysutils/signon-plugin-oauth2/Makefile:FLAVORS= qt5 qt6
sysutils/signond/Makefile:FLAVORS=      qt5 qt6
textproc/fcitx5-configtool/Makefile:FLAVORS?=   qt6 qt5
textproc/fcitx5-qt/Makefile:FLAVORS?=   qt6 qt5
textproc/pageedit/Makefile:FLAVORS=     qt6 qt5
www/falkon/Makefile:FLAVORS=    kf6 qt6
www/qutebrowser/Makefile:FLAVORS=       qt6 qt5
x11-toolkits/qhotkey/Makefile:FLAVORS=  qt5 qt6
x11-toolkits/qwt6/Makefile:FLAVORS=     qt5 qt6
x11/plasma6-plasma-integration/Makefile:FLAVORS=        qt6 qt5

It would be surprising if there's no way to globally define flavours.

There isn't.
Sadly, this is so. While the ports framework benefits from years of work.
It's not quite a be-all-to-end-all. But pretty darn close!
There is however, another option that effectively gives you the end result
you hope to achieve; make --config-recursive. You will need to repeat this
command until you no longer get config dialogs. Once complete, the results
can only relied upon for your current ports tree. Any git pull/tree replacement
may well introduce a port with different options. Which may also cause a new
branch of options to set regarding other (now affected) ports. While it's
not a "silver bullet". It at least gives you your desired outcome.

HTH

--Chris

DES

--
--
Sent from hardware running on and written by FreeBSD.

Attachment: 0xE512722F.asc
Description: application/pgp-keys

Reply via email to