File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -32,24 +32,36 @@ depends_lib-append port:djvulibre
3232universal_variant yes
3333use_autoreconf yes
3434
35- if {$subport eq $name } {
35+ if {${os.major} < 17 } {
3636 PortGroup qt4 1.0
37- conflicts djview-qt5
38- } else {
37+
38+ } elseif { ${os.major} < 21} {
3939 PortGroup qt5 1.0
40- conflicts ${name}
40+
41+ # Location of qmake
42+ configure.env-append QMAKE=${prefix} /libexec/qt6/bin/qmake \
43+ QMAKESPEC=macx-clang
44+ } else {
45+ PortGroup qt6 1.0
46+
47+ qt6.depends_lib qt5compat
48+
49+ # Location of qmake
50+ configure.env-append QMAKE=${prefix} /libexec/qt6/bin/qmake \
51+ QMAKESPEC=macx-clang
4152}
4253
4354subport djview-qt5 {
44- # Location of qmake
45- configure.env-append QMAKE= ${prefix} /libexec/qt5/bin/qmake \
46- QMAKESPEC=macx-clang
55+ PortGroup obsolete 1.0
56+
57+ replaced_by djview
4758}
4859
4960configure.ldflags
5061configure.args \
5162 --disable-nsdejavu \
52- --disable-desktopfiles
63+ --disable-desktopfiles \
64+ --enable-mac
5365
5466build.args-append V=1
5567
You can’t perform that action at this time.
0 commit comments