summaryrefslogtreecommitdiff
path: root/devel/pkg-config/patches/patch-ac
blob: ef29aa60719d05d21d9ebc17316468ef8c38402d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2006/10/04 18:48:04 rillig Exp $

Arbitrary strings should not be passed to "eval".

--- configure.orig	2006-08-16 21:10:18.000000000 +0200
+++ configure	2006-10-04 20:39:13.000000000 +0200
@@ -19397,7 +19397,7 @@ echo "$as_me:$LINENO: checking whether t
 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