[MacPorts] #62895: rasmol @2.7.4.2: error: no such file or directory: 'DarwinMachineDefines'
MacPorts
noreply at macports.org
Mon May 17 21:37:20 UTC 2021
#62895: rasmol @2.7.4.2: error: no such file or directory: 'DarwinMachineDefines'
------------------------------------+--------------------
Reporter: richard-evans | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: arm64
Port: rasmol, xorg-cf-files |
------------------------------------+--------------------
Comment (by ryandesign):
Possibly as simple as this:
{{{
#!diff
--- Imake.cf.orig 2018-08-19 16:01:16.000000000 -0500
+++ Imake.cf 2021-05-17 16:33:51.000000000 -0500
@@ -37,6 +37,10 @@
# define x86_64DarwinArchitecture
# undef __x86_64__
# endif
+# ifdef __arm64__
+# define arm64DarwinArchitecture
+# undef __arm64__
+# endif
#endif
#if defined(clipper) || defined(__clipper__)
--- darwin.cf.orig 2018-08-19 16:01:16.000000000 -0500
+++ darwin.cf 2021-05-17 16:35:57.000000000 -0500
@@ -249,6 +249,16 @@
# define ByteOrder X_LITTLE_ENDIAN
#endif /* x86_64DarwinArchitecture */
+#ifdef arm64DarwinArchitecture
+# define DarwinMachineDefines -D__arm64__
+# if HasGcc3
+# define OptimizedCDebugFlags -Os
+# else
+# define OptimizedCDebugFlags -O2 -fno-strength-reduce
+# endif
+# define ByteOrder X_LITTLE_ENDIAN
+#endif /* arm64DarwinArchitecture */
+
#if OSMajorVersion < 7
# define DarwinLocaleDefines -DX_LOCALE
#else
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62895#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list