mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
Fix patches to configure scripts to only add -libverbs if found in base PR: 242987 Reported by: Dries Michiels <driesm.michiels@gmail.com> Reported by: garga MFH: 2020Q1
20 lines
1 KiB
Text
20 lines
1 KiB
Text
--- configure.orig 2019-05-24 18:28:49 UTC
|
|
+++ configure
|
|
@@ -2542,7 +2542,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
+set dummy ${ac_tool_prefix}$CXX; ac_word=$2
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
|
if ${ac_cv_prog_CC+:} false; then :
|
|
@@ -3375,7 +3375,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
+set dummy ${ac_tool_prefix}$CXX; ac_word=$2
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
|
if ${ac_cv_prog_CC+:} false; then :
|