summaryrefslogtreecommitdiff
path: root/devel/pkg-config/patches/patch-ac
blob: f7bbb84b76ea99693bce02f5fbc7d41202805364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.3 2008/03/04 09:22:27 wiz Exp $

Arbitrary strings should not be passed to "eval".

--- configure.orig	2008-01-16 22:52:31.000000000 +0000
+++ configure
@@ -20150,7 +20150,7 @@ echo use_indirect_deps=$use_indirect_dep
 echo $ECHO_N "checking whether to list both direct and indirect dependencies... $ECHO_C" >&6; }
 case $use_indirect_deps in
   auto)
-    deplibs_check_method=`(./libtool --config; echo eval echo \$deplibs_check_method) | sh`
+    deplibs_check_method=`(./libtool --config; echo 'echo "$deplibs_check_method"') | sh`
     if test "X$deplibs_check_method" = Xnone; then
     echo "foo: $deplibs_check_method" >&5
       use_indirect_deps=yes