aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-11-25 10:31:33 +0800
committerjmz <jmz@FreeBSD.org>1999-11-25 10:31:33 +0800
commitf385ae74e04ef85c54d2ea79f688f6113ea8efc9 (patch)
treea847839cc2efb678331fe12b6a14dec2e248cb8a /x11
parent8c1c9b1d6633b2fe7216189c1a5d87d43e38b512 (diff)
downloadfreebsd-ports-gnome-f385ae74e04ef85c54d2ea79f688f6113ea8efc9.tar.gz
freebsd-ports-gnome-f385ae74e04ef85c54d2ea79f688f6113ea8efc9.tar.zst
freebsd-ports-gnome-f385ae74e04ef85c54d2ea79f688f6113ea8efc9.zip
Change Imake.tmpl and FreeBSD.cf. Imake programs will now use the system
CFLAGS instead of the predefined default (-O2) Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86/files/patch-b20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/XFree86/files/patch-b b/x11/XFree86/files/patch-b
new file mode 100644
index 000000000000..a1e92a81cb2a
--- /dev/null
+++ b/x11/XFree86/files/patch-b
@@ -0,0 +1,20 @@
+--- config/cf/Imake.tmpl.orig Sat Jan 9 15:18:57 1999
++++ config/cf/Imake.tmpl Thu Nov 25 02:31:28 1999
+@@ -1150,7 +1150,7 @@
+ CXXOPTIONS = CplusplusOptions
+ CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
+ CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES) $(DEFINES)
+- CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
++ CXXFLAGS += $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
+ #endif
+ COMPRESS = CompressCmd
+ GZIPCMD = GzipCmd
+@@ -1321,7 +1321,7 @@
+ */
+ ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
+ ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
+- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
++ CFLAGS += $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
+ LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
+ LDPRELIB = LdPreLib
+ LDPOSTLIB = LdPostLib