aboutsummaryrefslogtreecommitdiff
path: root/textproc/rotix
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 10:30:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 10:30:53 +0000
commit461664378a37ea2d87b3af772fc254b2b5412cbf (patch)
tree7d2ce174ed4dafb04d4dbe5fcdf38937d7269094 /textproc/rotix
parentb37385ed08e72cde9b4aa62e324c07a639314a54 (diff)
downloadports-461664378a37ea2d87b3af772fc254b2b5412cbf.tar.gz
ports-461664378a37ea2d87b3af772fc254b2b5412cbf.zip
Notes
Diffstat (limited to 'textproc/rotix')
-rw-r--r--textproc/rotix/files/patch-configure23
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;