mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
40 lines
955 B
Plaintext
40 lines
955 B
Plaintext
$NetBSD: patch-ag,v 1.3 2011/10/25 01:36:45 mef Exp $
|
|
|
|
Add __ppc64__ and __arm__
|
|
--- Imake.cf.orig 2010-09-04 08:19:43.000000000 +0900
|
|
+++ Imake.cf 2011-10-14 19:04:02.000000000 +0900
|
|
@@ -25,9 +25,10 @@
|
|
# define MacroIncludeFile <darwin.cf>
|
|
# define MacroFile darwin.cf
|
|
# define DarwinArchitecture
|
|
-# ifdef __ppc__
|
|
+# if defined __ppc__ || defined __ppc64__
|
|
# define PpcDarwinArchitecture
|
|
# undef __ppc__
|
|
+# undef __ppc64__
|
|
# endif
|
|
# ifdef __i386__
|
|
# define i386DarwinArchitecture
|
|
@@ -238,8 +239,9 @@
|
|
# ifdef mc68000
|
|
# define Mc68020Architecture
|
|
# endif
|
|
-# ifdef __arm32__
|
|
+# if defined(__arm__) || defined(__arm32__)
|
|
# define Arm32Architecture
|
|
+# undef __arm__
|
|
# undef __arm32__
|
|
# endif
|
|
# ifdef __vax__
|
|
@@ -250,6 +252,10 @@
|
|
# define PpcArchitecture
|
|
# undef __powerpc__
|
|
# endif
|
|
+# ifdef __x86_64__
|
|
+# define AMD64Architecture
|
|
+# undef __x86_64__
|
|
+# endif
|
|
#endif /* NetBSD */
|
|
|
|
/* Systems based on kernel of NetBSD */
|