aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif/files
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-14 22:21:57 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-14 22:21:57 +0000
commitf8b2cb53330207a5884658cb8c17659843602d41 (patch)
tree2436519b1c2b0070190e013e9451b53aca20b693 /x11-toolkits/open-motif/files
parentda11f88ef5195c7843b30f11ba9ab6361f87b904 (diff)
downloadports-f8b2cb53330207a5884658cb8c17659843602d41.tar.gz
ports-f8b2cb53330207a5884658cb8c17659843602d41.zip
Notes
Diffstat (limited to 'x11-toolkits/open-motif/files')
-rw-r--r--x11-toolkits/open-motif/files/patch-FreeBSD.cf28
-rw-r--r--x11-toolkits/open-motif/files/patch-config-cf-Imake.tmpl11
2 files changed, 33 insertions, 6 deletions
diff --git a/x11-toolkits/open-motif/files/patch-FreeBSD.cf b/x11-toolkits/open-motif/files/patch-FreeBSD.cf
index 93020eee1c61..12d9b275dab5 100644
--- a/x11-toolkits/open-motif/files/patch-FreeBSD.cf
+++ b/x11-toolkits/open-motif/files/patch-FreeBSD.cf
@@ -1,12 +1,28 @@
---- config/cf/FreeBSD.cf.dist Wed Jul 19 06:13:11 2000
-+++ config/cf/FreeBSD.cf Wed Jul 19 06:15:46 2000
-@@ -335,3 +335,3 @@
+--- config/cf/FreeBSD.cf.orig Sun Feb 11 08:23:51 2001
++++ config/cf/FreeBSD.cf Sun Feb 11 08:33:30 2001
+@@ -60,7 +60,7 @@
+ #define MkdirHierCmd mkdir -p
+
+ #define CcCmd cc
+-#define CppCmd /usr/libexec/cpp
++#define CppCmd /usr/bin/cpp
+ #define PreProcessCmd CppCmd
+ #define StandardCppDefines -traditional
+ #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
+@@ -333,14 +333,14 @@
+ /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
+ #ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
-#define DefaultGcc2i386Opt -O2
-+#define DefaultGcc2i386Opt -O
++#define DefaultGcc2i386Opt
#endif
-@@ -342,3 +342,3 @@
+ #endif
+
+ #ifdef i386Architecture
+ # define OptimizedCDebugFlags DefaultGcc2i386Opt
#else
-# define OptimizedCDebugFlags -O2
-+# define OptimizedCDebugFlags -O
++# define OptimizedCDebugFlags
#endif
+
+ #ifndef PreIncDir
diff --git a/x11-toolkits/open-motif/files/patch-config-cf-Imake.tmpl b/x11-toolkits/open-motif/files/patch-config-cf-Imake.tmpl
new file mode 100644
index 000000000000..870f8eafd3ae
--- /dev/null
+++ b/x11-toolkits/open-motif/files/patch-config-cf-Imake.tmpl
@@ -0,0 +1,11 @@
+--- config/cf/Imake.tmpl.orig Sun Feb 11 08:37:29 2001
++++ config/cf/Imake.tmpl Sun Feb 11 08:37:48 2001
+@@ -1334,7 +1334,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