mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
24 lines
592 B
Plaintext
24 lines
592 B
Plaintext
--- 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;
|