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
59
60
61
|
$NetBSD: patch-ar,v 1.1.1.1 2004/01/24 08:47:31 xtraeme Exp $
--- config/cf/NetBSD.cf.in.orig 2003-09-01 22:15:38.000000000 +0200
+++ config/cf/NetBSD.cf.in 2003-09-01 22:17:27.000000000 +0200
@@ -92,21 +92,6 @@
#define InstallXloadSetGID NO
-/* Defines for using the GNU pth thread library -- experimental */
-
-#ifdef NetBSDPth
-#define PthreadHLocation -I/usr/local/include /* where is pthread.h? */
-#define LibPthreadLocation -L/usr/local/lib /* where is libpthread? */
-#define HasThreadSafeAPI NO
-#define HasPosixThreads YES
-#define SystemMTDefines -D_REENTRANT PthreadHLocation
-#define ThreadsLibraries LibPthreadLocation -Wl,-rpath,/usr/local/lib -lpthread
-#define SharedX11Reqs ThreadsLibraries
-#else
-#define HasPosixThreads NO
-#define ThreadedX NO
-#endif
-
/*
* Compiler Features
*/
@@ -123,7 +108,7 @@
#define MkdirHierCmd mkdir -p
#undef CcCmd
-#define CcCmd gcc
+#define CcCmd @@PKGSRC_CC@@
#ifndef DefaultCCOptions
#if defined(UseInstalled)
#define DefaultCCOptions /**/
@@ -143,7 +128,7 @@
#define UseGccMakeDepend YES
#endif
-#define CppCmd cpp
+#define CppCmd @@PKGSRC_CPP@@
#define StandardCppOptions -traditional
#define StandardCppDefines /**/
#define PreProcessCmd CcCmd -E
@@ -194,7 +179,7 @@
# define DefaultGcc2i386Opt -O2
# endif
# endif
-# define OptimizedCDebugFlags DefaultGcc2i386Opt
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# if OSMajorVersion < 1
# define ServerOSDefines XFree86ServerOSDefines -DXNO_SYSCONF
# else
@@ -648,3 +633,7 @@
#ifndef UseSeparateConfDir
#define UseSeparateConfDir NO /* We don't want appdefs in "/etc/X11". */
#endif
+
+/* TheadedX */
+
+
|