blob: b24019cf23783ba812bd11388ecfc59057c0e6cc (
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.4 2004/11/07 12:57:37 markd 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
|