Modified: trunk/dports/multimedia/HandBrake/Portfile (133576 => 133577)
--- trunk/dports/multimedia/HandBrake/Portfile 2015-03-05 20:30:46 UTC (rev 133576)
+++ trunk/dports/multimedia/HandBrake/Portfile 2015-03-05 20:34:45 UTC (rev 133577)
@@ -54,9 +54,10 @@
# TODO: Build correctly for a non-native arch.
-if {${os.arch} ne "i386"} {
+if {${os.arch} ne "i386"
+ || [catch {sysctl hw.cpu64bit_capable} isNative64Bit]} {
supported_archs i386 x86_64
-} elseif {[sysctl hw.cpu64bit_capable]} {
+} elseif {$isNative64Bit} {
supported_archs x86_64
} else {
supported_archs i386