-diff -durN blender2.14-linux-glibc2.1.2-i386.orig/plugins/bmake blender2.14-linux-glibc2.1.2-i386/plugins/bmake
---- blender2.14-linux-glibc2.1.2-i386.orig/plugins/bmake Fri Jul 13 19:00:18 2001
-+++ blender2.14-linux-glibc2.1.2-i386/plugins/bmake Thu Aug 2 15:07:52 2001
-@@ -5,35 +5,36 @@
+diff -durN blender2.20-linux-glibc2.1.2-i386.orig/plugins/bmake blender2.20-linux-glibc2.1.2-i386/plugins/bmake
+--- blender2.20-linux-glibc2.1.2-i386.orig/plugins/bmake Tue Aug 14 16:23:07 2001
++++ blender2.20-linux-glibc2.1.2-i386/plugins/bmake Sat Sep 1 18:24:24 2001
+@@ -5,36 +5,36 @@
UNAME=`uname`
- if ( test $UNAME = "IRIX64" ) then
+ if ( test $UNAME = "IRIX64" -o $UNAME = "IRIX" ) then
CC="cc";
-- CFLAGS="-KPIC -O2";
-+ CFLAGS="-KPIC";
+- CFLAGS="-KPIC -O2 -mips3";
++ CFLAGS="-KPIC -mips3";
LD="ld";
- LDFLAGS="-U";
+ LDFLAGS="-shared -U";
elif ( test $UNAME = "FreeBSD" ) then
CC="gcc";
- CFLAGS="-fPIC -funsigned-char -O2";
LD="ld";
LDFLAGS="-r";
fi
+-
+CFLAGS="$CFLAGS $OPTFLAGS"
-
if ( test "$#" = "1" ) then
if ( test -f $1 ) then
-@@ -66,6 +67,8 @@
+ BASE_FILE=`echo $1 | sed -e "1 s/\.c//g"`;
+@@ -66,6 +66,8 @@
INCLUDES=-I..;
elif ( test -f "../include/plugin.h" ) then
INCLUDES=-I../include
+elif ( test -f "/usr/X11R6/include/blender/plugin.h" ) then
-+ INCLUDES=-I/usr/X11R6/include/blender
++ INCLUDES=-I/usr/X11R6/include/blender
else
echo "Couldn't find plugin.h";
exit;