summaryrefslogtreecommitdiff
path: root/x11/XFree86-imake/patches/patch-ag
blob: 9e62e32da1277837c6c67d7e7741cd1043ffdcf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ag,v 1.1.1.1 2005/10/10 17:18:56 reed Exp $

--- config/cf/sun.cf.in.orig	Mon Feb  2 16:55:26 2004
+++ config/cf/sun.cf.in	Thu Nov  4 16:43:40 2004
@@ -19,6 +19,12 @@
 #endif
 XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
 
+/* This is the XFree86 package - we want to build XFree86 on Solaris */
+#define BuildXFree86OnSparcSunOS YES
+#define BuildThreadStubLibrary NO
+#define HasSunC NO
+#define HasGcc2 YES
+
 /*
  * Compiler setup.  This sun.cf file knows what options to use with 
  * certain compilers, including Sun C, CenterLine C, and gcc.  It 
@@ -224,6 +230,10 @@
 #endif
 #endif
 
+#define CcCmd @@PKGSRC_CC@@
+#define CplusplusCmd @@PKGSRC_CXX@@
+#define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
+
 # if HasSunC && (CCompilerMajorVersion < 3)
 #  define BootstrapCFlags	-DSVR4
 # else