remove unnecessary USE flag descriptions from metadata
[nodoc-overlay.git] / sci-electronics / qflow / files / qflow-fixNetgenBinName.patch
1 diff --git a/configure b/configure
2 index 60aedd4..e1af074 100755
3 --- a/configure
4 +++ b/configure
5 @@ -682,7 +682,7 @@ ac_user_opts='
6 enable_option_checking
7 with_tclsh
8 with_magic
9 -with_netgen
10 +with_netgen-tcl
11 with_qrouter
12 with_graywolf
13 with_yosys
14 @@ -1319,7 +1319,7 @@ Optional Packages:
15 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
16 --with-tclsh=DIR path to tclsh
17 --with-magic=DIR path to magic-8.X
18 - --with-netgen=DIR path to netgen
19 + --with-netgen-tcl=DIR path to netgen-tcl
20 --with-qrouter=DIR path to qrouter
21 --with-graywolf=DIR path to graywolf
22 --with-yosys=DIR path to yosys
23 @@ -3967,19 +3967,19 @@ _ACEOF
24
25
26
27 -# Check whether --with-netgen was given.
28 -if test "${with_netgen+set}" = set; then :
29 - withval=$with_netgen;
30 +# Check whether --with-netgen-tcl was given.
31 +if test "${with_netgen-tcl+set}" = set; then :
32 + withval=$with_netgen-tcl;
33 if test -d "$withval"; then
34 QFLOW_NETGEN_DIR=$withval
35 elif test -f "$withval"; then
36 - # Path includes "/netgen"; remove it
37 - QFLOW_NETGEN_DIR=${withval%/netgen}
38 + # Path includes "/netgen-tcl"; remove it
39 + QFLOW_NETGEN_DIR=${withval%/netgen-tcl}
40 else
41 QFLOW_NETGEN_DIR=${PATH}
42 fi
43 - # Extract the first word of "netgen", so it can be a program name with args.
44 -set dummy netgen; ac_word=$2
45 + # Extract the first word of "netgen-tcl", so it can be a program name with args.
46 +set dummy netgen-tcl; ac_word=$2
47 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
48 $as_echo_n "checking for $ac_word... " >&6; }
49 if ${ac_cv_path_QFLOW_NETGEN_PATH+:} false; then :
50 @@ -4021,8 +4021,8 @@ fi
51
52 else
53
54 - # Extract the first word of "netgen", so it can be a program name with args.
55 -set dummy netgen; ac_word=$2
56 + # Extract the first word of "netgen-tcl", so it can be a program name with args.
57 +set dummy netgen-tcl; ac_word=$2
58 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
59 $as_echo_n "checking for $ac_word... " >&6; }
60 if ${ac_cv_path_QFLOW_NETGEN_PATH+:} false; then :
61 @@ -6198,7 +6198,7 @@ fi
62
63 if test "x${ac_cv_path_QFLOW_NETGEN_PATH}" == "x"; then
64 WARN=1
65 - echo "WARNING: Netgen LVS tool not found. Use --with-netgen=<DIR>"
66 + echo "WARNING: Netgen LVS tool not found. Use --with-netgen-tcl=<DIR>"
67 else
68 echo "Using Netgen LVS tool at: ${ac_cv_path_QFLOW_NETGEN_PATH}"
69 fi