summaryrefslogtreecommitdiff
path: root/net/mtr/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-05-12 07:51:05 +0000
committerjoerg <joerg>2006-05-12 07:51:05 +0000
commit3c6169c292de93a06eae5bf5cabc4cb2a4c47727 (patch)
treeeccf3c94a2f9c11e8a1769b6fb3af2ab943269c4 /net/mtr/patches
parent297cf958cf899a0b9fc106197d5c7981aa0a870c (diff)
downloadpkgsrc-3c6169c292de93a06eae5bf5cabc4cb2a4c47727.tar.gz
Don't override the result of configure a few moments ago by hard-coding
-lresolv. It might not exist at all and break the other configure tests.
Diffstat (limited to 'net/mtr/patches')
-rw-r--r--net/mtr/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/mtr/patches/patch-aa b/net/mtr/patches/patch-aa
new file mode 100644
index 00000000000..055a52aea54
--- /dev/null
+++ b/net/mtr/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.6 2006/05/12 07:51:05 joerg Exp $
+
+--- configure.orig 2006-05-12 07:46:21.000000000 +0000
++++ configure
+@@ -6882,6 +6882,7 @@ _ACEOF
+ LIBS="-lresolv $LIBS"
+
+ else
++ LIBS="$ac_check_lib_save_LIBS"
+
+ echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
+ echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6
+@@ -6965,8 +6966,6 @@ fi
+
+ fi
+
+-LIBS="$LIBS -lresolv"
+-
+ echo "$as_me:$LINENO: checking for herror" >&5
+ echo $ECHO_N "checking for herror... $ECHO_C" >&6
+ if test "${ac_cv_func_herror+set}" = set; then