aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul')
-rw-r--r--sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul32
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul b/sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul
new file mode 100644
index 000000000000..1b76323e1ac7
--- /dev/null
+++ b/sysutils/sformat/files/patch-RULES__i386-freebsd-cc.rul
@@ -0,0 +1,32 @@
+--- RULES/i386-freebsd-cc.rul.orig Tue Oct 15 22:43:39 2002
++++ RULES/i386-freebsd-cc.rul Sun Oct 27 19:59:00 2002
+@@ -24,7 +24,8 @@
+ ###########################################################################
+
+ CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
+-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
++XCFLAGS:= $(CFLAGS)
++CFLAGS= $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(COPTX)
+
+ CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
+ COPTS=
+@@ -57,14 +58,14 @@
+
+ FLOAT_OPTIONS=
+
+-CC= @echo " ==> COMPILING \"$@\""; gcc
+-LDCC= @echo " ==> LINKING \"$@\""; gcc
+-DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc
+-RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
++CCCOM= $(CC)
++LDCC= $(CCCOM)
++DYNLD= $(CCCOM)
++RANLIB= ranlib
+ ARFLAGS= cr
+ LORDER= lorder
+ TSORT= tsort
+
+ RMDEP= :
+-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
++MKDEP= $(CCCOM) -M
+ MKDEP_OUT=