Skip to content

Commit 1a8c546

Browse files
committed
gnudatalanguage: fix build on older systems
1 parent 7305bb0 commit 1a8c546

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

math/gnudatalanguage/Portfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ variant wxWidgets description {Enable wxWidgets support} {
9999
configure.args-append -DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig}
100100
}
101101

102-
default_variants +wxWidgets
102+
# https://trac.macports.org/ticket/62087
103+
if {${os.platform} ne "darwin" || ${os.major} >= 16} {
104+
default_variants +wxWidgets
105+
}
103106

104107
if {[gcc_variant_isset] || [clang_variant_isset]} {
105108
configure.args-replace -DOPENMP=OFF \

0 commit comments

Comments
 (0)