summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/patches/patch-aj
blob: 32f082f89b9b6c1f97dfe8447b89ed0c5da093b9 (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
39
40
41
42
43
44
45
46
47
48
49
$NetBSD: patch-aj,v 1.3 2004/07/21 22:21:49 xtraeme Exp $

--- config/cf/OpenBSD.cf.in.orig	2004-07-22 00:18:37.000000000 +0200
+++ config/cf/OpenBSD.cf.in	2004-07-22 00:19:48.000000000 +0200
@@ -162,7 +162,7 @@
 #define MkdirHierCmd		mkdir -p
 
 #ifndef CppCmd
-#define CppCmd          	/usr/libexec/cpp
+#define CppCmd          	@@PKGSRC_CPP@@
 #endif
 #define StandardCppOptions	-traditional
 #define StandardCppDefines	/**/
@@ -170,10 +170,10 @@
 #define PreIncDir		DefaultGccIncludeDir
 
 #ifndef CcCmd
-#define CcCmd 			cc
+#define CcCmd 			@@PKGSRC_CC@@
 #endif
 #ifndef AsCmd
-#define AsCmd			cc -c -x assembler
+#define AsCmd			@@PKGSRC_CC@@ -c -x assembler
 #endif
 #ifndef DefaultCCOptions
 #if defined(UseInstalled)
@@ -226,7 +226,6 @@
 
 #define HasBsdMake		YES
 
-#define BuildCyrillicFonts	YES
 #define GzipFontCompression	YES
 #define DefaultUserPath		/bin:/usr/bin:/usr/local/bin:$(BINDIR)
 #define DefaultSystemPath	/sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
@@ -481,13 +480,7 @@
 # endif 
  
 
-# ifndef DefaultGcc2i386Opt
-#   if (OSMajorVersion == 2 && OSMinorVersion >= 3) || OSMajorVersion > 2
-      /* The GCC strength-reduce bug is fixed for OpenBSD 2.3 and later */
-#     define DefaultGcc2i386Opt	-O2 GccAliasingArgs
-#   endif
-# endif
-# define OptimizedCDebugFlags	DefaultGcc2i386Opt
+# define OptimizedCDebugFlags	@@PKGSRC_CFLAGS@@
 # define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraSysLibs	-li386
 # define LdPostLib		/**/