blob: cc769423f6dfc4627e066988e9b1cc4b6ddb8ab9 (
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
50
51
52
53
54
55
56
57
58
|
$NetBSD: patch-ad,v 1.1.1.1 2004/07/29 04:50:58 xtraeme Exp $
--- config/cf/FreeBSD.cf.in.orig 2004-03-03 07:40:43.000000000 +0000
+++ config/cf/FreeBSD.cf.in 2004-03-03 07:44:05.000000000 +0000
@@ -190,11 +190,11 @@
# define CcCmd $(CLIENTENVSETUP) cc
# define CplusplusCmd $(CLIENTENVSETUP) c++
#else
-# define CcCmd cc
-# define CplusplusCmd c++
+# define CcCmd @@PKGSRC_CC@@
+# define CplusplusCmd @@PKGSRC_CXX@@
#endif
-#define CppCmd /usr/bin/cpp
+#define CppCmd @@PKGSRC_CPP@@
#define PreProcessCmd CppCmd
#define StandardCppOptions -traditional
#define StandardCppDefines /**/
@@ -207,7 +207,7 @@
#else
#define NoSystemWarn
#endif
-#define DefaultCCOptions -ansi -pedantic NoSystemWarn -Dasm=__asm \
+#define DefaultCCOptions -ansi NoSystemWarn -Dasm=__asm \
GccWarningOptions
#endif
#endif
@@ -439,18 +439,8 @@
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif
-/* 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
-#endif
-#endif
-
-#ifdef i386Architecture
-# define OptimizedCDebugFlags DefaultGcc2i386Opt
-#else
-# define OptimizedCDebugFlags -O
-#endif
+#define DefaultGcc2i386Opt
+#define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
#ifndef PreIncDir
# define PreIncDir /usr/include
@@ -476,7 +466,7 @@
* Compress manual pages
*/
#ifndef CompressManPages
-# define CompressManPages YES
+# define CompressManPages NO
#endif
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 1)
|