diff --git a/lang/dmd/Portfile b/lang/dmd/Portfile
index 665c829ddd6..2eac0a12919 100644
a
|
b
|
if {![info exists universal_possible]} { |
51 | 51 | set universal_possible [expr {${os.universal_supported} && [llength ${configure.universal_archs}] >= 2}] |
52 | 52 | } |
53 | 53 | if {!${universal_possible} || ![variant_isset universal]} { |
54 | | if { ${build_arch} eq "x86_64" || ${build_arch} eq "ppc64" } { |
| 54 | if {${build_arch} in [list arm64 ppc64 x86_64]} { |
55 | 55 | build.args-append MODEL=64 |
56 | 56 | destroot.args-append MODEL=64 |
57 | 57 | } else { |
… |
… |
if {!${universal_possible} || ![variant_isset universal]} { |
59 | 59 | destroot.args-append MODEL=32 |
60 | 60 | } |
61 | 61 | } else { |
| 62 | lappend merger_build_args(arm64) MODEL=64 |
62 | 63 | lappend merger_build_args(x86_64) MODEL=64 |
63 | 64 | lappend merger_build_args(i386) MODEL=32 |
64 | 65 | lappend merger_build_args(ppc64) MODEL=64 |
65 | 66 | lappend merger_build_args(ppc) MODEL=32 |
| 67 | lappend merger_destroot_args(arm64) MODEL=64 |
66 | 68 | lappend merger_destroot_args(x86_64) MODEL=64 |
67 | 69 | lappend merger_destroot_args(i386) MODEL=32 |
68 | 70 | lappend merger_destroot_args(ppc64) MODEL=64 |