1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 21:09:17 -04:00
ports/graphics/dri-devel/files/patch-host.def
Eric Anholt 64664465a9 - Update to snapshot from 2004-05-07.
- Re-enable Alpha build after fixing the pkg-plist.
- Fix installing to different X11BASE.
2004-05-13 05:58:29 +00:00

55 lines
1.6 KiB
Modula-2

--- config/cf/host.def.orig Fri May 7 20:22:03 2004
+++ config/cf/host.def Wed May 12 21:58:55 2004
@@ -5,8 +5,8 @@
#define XFree86CustomVersion "DRI trunk"
/* You need this now */
-#define MesaSrcDir /X11R6/SourceForge/Mesanew/Mesa
-#define DRMSrcDir /X11R6/SourceForge/DRI-freedesktop/drm
+#define MesaSrcDir $(TOP)/../Mesa
+#define DRMSrcDir $(TOP)/../drm
/* Don't use any special flags by default, but leave this here commented out
@@ -25,6 +25,13 @@
#endif
*/
+#define DefaultGcc2AxpOpt ${FBSDCFLAGS}
+#define DefaultGcc2PpcOpt ${FBSDCFLAGS}
+#define DefaultGcc2i386Opt ${FBSDCFLAGS}
+#define LibraryCDebugFlags ${FBSDCFLAGS}
+
+#define CcCmd ${FBSDCC}
+#define CplusplusCmd ${FBSDCXX}
#define BuildXFree86ConfigTools YES
@@ -52,15 +59,17 @@
#if defined(FreeBSDArchitecture) && defined(HasGcc3) && HasGcc3
#define NoSystemWarn -Wno-system-headers
+#define AliasingArg -fno-strict-aliasing
#else
#define NoSystemWarn
+#define AliasingArg
#endif
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wundef \
NoSystemWarn
-#define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g
+#define DefaultCCOptions AliasingArg GccWarningOptions
#define NormalLibGlx NO
@@ -87,7 +96,7 @@
/* Optionally turn this on to change the place where you install the build.
* Warning: trailing blanks will cause build failures.
*/
-/* #define ProjectRoot /usr/X11R6-DRI */
+#include "projectroot.def"
/* #define UsrLibDir /usr/X11R6/lib */