diff options
-rw-r--r-- | textproc/rotix/files/patch-configure | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/rotix/files/patch-configure b/textproc/rotix/files/patch-configure new file mode 100644 index 000000000000..1acf4dcb6ed3 --- /dev/null +++ b/textproc/rotix/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig Sun Jan 27 13:00:06 2002 ++++ configure Sun Oct 20 03:32:06 2002 +@@ -17,7 +17,7 @@ + arch=`uname -s` + + while [ -n "$1" ]; do +- e="`expr "$1" : '--\(.*=.*\)'`" ++ e="`expr -- "$1" : '--\(.*=.*\)'`" + if [ -z "$e" ]; then + cat<<EOF + Rotix configure +@@ -83,9 +83,9 @@ + fi + + if type gcc > /dev/null 2> /dev/null; then +- echo "CC=gcc" >> Makefile.settings; ++ echo "CC?=gcc" >> Makefile.settings; + elif type cc > /dev/null 2> /dev/null; then +- echo "CC=cc" >> Makefile.settings; ++ echo "CC?=cc" >> Makefile.settings; + else + echo 'Cannot find a C compiler, aborting.' + exit 1; |