summaryrefslogtreecommitdiff
path: root/cad/ghdl/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'cad/ghdl/files/patch-configure')
-rw-r--r--cad/ghdl/files/patch-configure34
1 files changed, 34 insertions, 0 deletions
diff --git a/cad/ghdl/files/patch-configure b/cad/ghdl/files/patch-configure
new file mode 100644
index 000000000000..6ad69ebc9459
--- /dev/null
+++ b/cad/ghdl/files/patch-configure
@@ -0,0 +1,34 @@
+--- configure.orig 2019-10-21 19:07:51 UTC
++++ configure
+@@ -114,8 +114,6 @@ for opt do
+ --enable-coverage) build_mode="coverage";;
+ -h|-help|--help) show_help=yes;;
+ *)
+- echo "$0: unknown option $opt; try $0 --help"
+- exit 1
+ ;;
+ esac
+ done
+@@ -164,10 +162,10 @@ if ! grep $pat $srcdir/configure > /dev/null 2>&1; the
+ exit 1
+ fi
+
+-if ! `cmp --help > /dev/null 2>&1`; then
+- echo "Sorry, you need 'cmp' to configure GHDL.";
+- exit 1
+-fi
++#if ! `cmp --help > /dev/null 2>&1`; then
++# echo "Sorry, you need 'cmp' to configure GHDL.";
++# exit 1
++#fi
+
+ if ! cmp $srcdir/configure $abs_srcdir/configure > /dev/null 2>&1; then
+ echo "Cannot compute absolute source dir (or incorrect srcdir)"
+@@ -368,6 +366,7 @@ if test $backend = mcode; then
+ *darwin*) ortho_flags="Flags_Macosx${mcode64}" ;;
+ *mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
+ *linux*) ortho_flags="Flags_Linux${mcode64}" ;;
++ *freebsd*) ortho_flags="Flags_Linux${mcode64}" ;;
+ *) echo "Unsupported $build build for mcode"; exit 1;;
+ esac
+ echo "Generate ortho_code-x86-flags.ads"