summaryrefslogtreecommitdiff
path: root/x11/xorg-cf-files/patches/patch-ab
blob: 7e5b8ed552bd588cca3a3978eab7b400c5cfa230 (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
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ab,v 1.1.1.1 2006/12/19 22:54:51 joerg Exp $

--- FreeBSD.cf.orig	Fri Oct  8 02:16:19 2004
+++ FreeBSD.cf	Fri Oct  8 02:18:01 2004
@@ -173,12 +173,12 @@
 #endif
 
 #ifndef CcCmd
-#define CcCmd			cc
+#define CcCmd			@@PKGSRC_CC@@
 #endif
 #ifndef CplusplusCmd
-#define CplusplusCmd		c++
+#define CplusplusCmd		@@PKGSRC_CXX@@
 #endif
-#define CppCmd			/usr/bin/cpp
+#define CppCmd			@@PKGSRC_CPP@@
 #define PreProcessCmd		CppCmd
 #define StandardCppOptions	-traditional
 #define StandardCppDefines	/**/
@@ -466,7 +466,7 @@
 /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
 #ifndef DefaultGcc2i386Opt
 #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
-#define DefaultGcc2i386Opt -O2 GccAliasingArgs
+#define DefaultGcc2i386Opt @@PKGSRC_CFLAGS@@
 #endif
 #endif
 
@@ -500,7 +500,7 @@
  * Compress manual pages
  */
 #ifndef CompressManPages
-# define CompressManPages	YES
+# define CompressManPages	NO
 #endif
 
 #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 1)