[MacPorts] FAQ modified

MacPorts Wiki noreply at macports.org
Sun Oct 29 12:25:12 UTC 2023


Page "FAQ" was changed by tsabirgaliev
Diff URL: <https://trac.macports.org/wiki/FAQ?action=diff&version=199>
Revision 199
Comment: use build_arch to checksum alternative architecture binary distfiles
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 198)
+++ FAQ (version: 199)
@@ -268,6 +268,11 @@
 
 MacPorts 1.8 introduced a new option to macports.conf: '''build_arch'''.  This allows you to control the architecture targeted by builds.  For example, you can use this to build 64bit on 10.5 (where 32bit is the default) or 32bit on 10.6 (where 64bit is usually the default).
 
+Another use case is when authoring a port on an Intel based Mac one can use the following command to do a checksum for arm64:
+{{{
+sudo port -d checksum <portname> build_arch=arm64
+}}}
+
 Documentation on this feature can be found in the man page for ''macports.conf'', and also in the Guide.
 
 There are two issues to note before you try and use build_arch:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/FAQ>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'FAQ' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list