[132819] trunk/dports/multimedia/HandBrake/Portfile

larryv at macports.org larryv at macports.org
Wed Feb 11 01:03:11 PST 2015


Revision: 132819
          https://trac.macports.org/changeset/132819
Author:   larryv at macports.org
Date:     2015-02-11 01:03:11 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
HandBrake: Restrict to native builds

I haven't yet figured out how to successfully build a 32-bit product on
x86_64, and I'm not convinced that doing so is worth the effort. Who
would even want that?

Modified Paths:
--------------
    trunk/dports/multimedia/HandBrake/Portfile

Modified: trunk/dports/multimedia/HandBrake/Portfile
===================================================================
--- trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:06 UTC (rev 132818)
+++ trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:11 UTC (rev 132819)
@@ -26,6 +26,16 @@
 }
 
 
+# TODO: Build correctly for a non-native arch.
+if {${os.arch} ne "i386"} {
+    supported_archs i386 x86_64
+} elseif {[sysctl hw.cpu64bit_capable]} {
+    supported_archs x86_64
+} else {
+    supported_archs i386
+}
+
+
 # +universal would be possible, but not implemented yet
 # see ${worksrcpath}/doc/BUILD-Mac for details
 universal_variant   no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/43a27e25/attachment.html>


More information about the macports-changes mailing list