blob: 5318367bd17b55f0310129cc1e0d59804ac6a27f (
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
|
$NetBSD: patch-af,v 1.3 2005/03/22 09:49:14 adam Exp $
--- config/cf/darwin.cf.in.orig Wed Dec 15 05:53:05 2004
+++ config/cf/darwin.cf.in
@@ -88,7 +88,7 @@ XCOMM operating system: OSName (OSMajor
* Turn off to build on raw Darwin systems.
*/
#ifndef DarwinQuartzSupport
-# define DarwinQuartzSupport YES
+# define DarwinQuartzSupport @@DARWIN_USE_QUARTZ@@
#endif
#if DarwinQuartzSupport
@@ -161,10 +161,10 @@ XCOMM operating system: OSName (OSMajor
* so we use the 3.1-based version.
*/
#if OSMajorVersion >= 7
-# define CppCmd /usr/bin/cpp3
+# define CppCmd /usr/bin/cpp
# define StandardCppOptions -traditional -D__GNUC__
#else
-# define CppCmd /usr/bin/cpp
+# define CppCmd /usr/bin/cpp
#endif
#if HasGcc3
# define RawCppCmd CppCmd -undef
@@ -173,8 +173,8 @@ XCOMM operating system: OSName (OSMajor
#endif
/* we have a gcc compatible compiler, but its not called gcc */
-#define CcCmd /usr/bin/cc
-#define CplusplusCmd /usr/bin/c++
+#define CcCmd @@PKGSRC_CC@@
+#define CplusplusCmd @@PKGSRC_CXX@@
/* default flags to pass to cc */
#ifndef DefaultCCOptions
@@ -202,7 +202,7 @@ XCOMM operating system: OSName (OSMajor
#ifdef PpcDarwinArchitecture
# define DarwinMachineDefines -D__powerpc__
# if HasGcc3
-# define OptimizedCDebugFlags -Os
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# else
# define OptimizedCDebugFlags -O2
# endif
@@ -212,7 +212,7 @@ XCOMM operating system: OSName (OSMajor
#ifdef i386DarwinArchitecture
# define DarwinMachineDefines -D__i386__
# if HasGcc3
-# define OptimizedCDebugFlags -Os
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# else
# define OptimizedCDebugFlags -O2 -fno-strength-reduce
# endif
|