summaryrefslogtreecommitdiff
path: root/x11/xorg-cf-files/patches/patch-ae
blob: dccfc0f714fc6b8c7651ba508b5db465fbb05e78 (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
$NetBSD: patch-ae,v 1.3 2015/07/15 17:16:50 dholland Exp $

--- DragonFly.cf.orig	2010-05-16 12:38:48.000000000 +0200
+++ DragonFly.cf	2010-05-16 12:41:18.000000000 +0200
@@ -96,12 +96,12 @@
 #define HasFlex                  YES
 
 #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       /**/
@@ -116,10 +116,6 @@
 # endif
 # define DefaultCCOptions -ansi NoSystemWarn -Dasm=__asm GccWarningOptions
 #endif
-#ifndef ExtraLibraries
-/* support for multi-byte locales is in libxpg4 rather than libc */
-#define ExtraLibraries          -lxpg4
-#endif
 #define HasSetUserContext       YES
 #define HasGetpeereid           YES
 #define HasMTRRSupport          YES
@@ -152,6 +152,10 @@
 #define BuildDmx		YES
 #endif
 
+#ifndef BuildDmx
+#define BuildDmx		YES
+#endif
+
 #ifndef UseRpath
 # define UseRpath               YES
 #endif