summaryrefslogtreecommitdiff
path: root/x11/xorg-cf-files/patches/patch-ae
blob: e498409fc86da66f2dae47ecaa718aea3273f6e9 (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
$NetBSD: patch-ae,v 1.4 2015/07/15 17:21:10 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