pkgsrc/x11/xorg-imake/patches/patch-ah
xtraeme 94dbc0f920 Update meta-pkgs/xorg to 6.9.0.
The full list of changes:
http://ftp.x.org/pub/X11R7.0/doc/html/RELNOTES2.html

Thanks to joerg@ and reed@ for testing on DragonFlyBSD.

Tested on NetBSD/i386 3.0/-current and DragonFlyBSD-1.4/i386.
2006-01-18 23:53:05 +00:00

51 lines
1.5 KiB
Text

$NetBSD: patch-ah,v 1.4 2006/01/18 23:53:06 xtraeme Exp $
--- config/cf/darwin.cf.in.orig 2005-12-06 11:18:05.000000000 +0100
+++ config/cf/darwin.cf.in 2005-12-06 11:20:10.000000000 +0100
@@ -97,7 +97,7 @@
* Turn off to build on raw Darwin systems.
*/
#ifndef DarwinQuartzSupport
-# define DarwinQuartzSupport YES
+# define DarwinQuartzSupport @@DARWIN_USE_QUARTZ@@
#endif
#if DarwinQuartzSupport
@@ -170,7 +170,7 @@
* so we use the 3.1-based version in this case.
*/
#if (GccMajorVersion == 3) && (GccMinorVersion == 3)
-# define CppCmd /usr/bin/cpp3
+# define CppCmd /usr/bin/cpp
#else
# define CppCmd /usr/bin/cpp
#endif
@@ -184,8 +184,8 @@
#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
@@ -213,7 +213,7 @@
#ifdef PpcDarwinArchitecture
# define DarwinMachineDefines -D__powerpc__
# if HasGcc3
-# define OptimizedCDebugFlags -Os
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# else
# define OptimizedCDebugFlags -O2
# endif
@@ -223,7 +223,7 @@
#ifdef i386DarwinArchitecture
# define DarwinMachineDefines -D__i386__
# if HasGcc3
-# define OptimizedCDebugFlags -Os
+# define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
# else
# define OptimizedCDebugFlags -O2 -fno-strength-reduce
# endif