summaryrefslogtreecommitdiff
path: root/devel/nbitools/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nbitools/patches/patch-aj')
-rw-r--r--devel/nbitools/patches/patch-aj26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/nbitools/patches/patch-aj b/devel/nbitools/patches/patch-aj
new file mode 100644
index 00000000000..831b0d3cbaf
--- /dev/null
+++ b/devel/nbitools/patches/patch-aj
@@ -0,0 +1,26 @@
+$NetBSD: patch-aj,v 1.1 2005/05/08 03:14:35 minskim Exp $
+
+--- config/cf/Imake.cf.orig 2005-05-07 21:33:29.000000000 -0500
++++ config/cf/Imake.cf
+@@ -19,6 +19,21 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
+ * 4. Create a .cf file with the name given by MacroFile.
+ */
+
++#if defined(__APPLE__)
++# undef __APPLE__
++# define MacroIncludeFile <Darwin.cf>
++# define MacroFile Darwin.cf
++# define DarwinArchitecture
++# ifdef __ppc__
++# define PpcDarwinArchitecture
++# undef __ppc__
++# endif
++# ifdef __i386__
++# define i386DarwinArchitecture
++# undef __i386__
++# endif
++#endif
++
+ #if defined(clipper) || defined(__clipper__)
+ # undef clipper
+ # define MacroIncludeFile <ingr.cf>