freebsd-ports/net/torsocks/files/patch-configure.ac
Pawel Pekala 92329e2249 Update to version 2.1.0
PR:		200503
Submitted by:	maintainer
2015-10-28 16:25:27 +00:00

13 lines
335 B
Text

--- configure.ac.orig 2015-05-27 18:54:22 UTC
+++ configure.ac
@@ -126,6 +126,10 @@ AS_CASE([$host_os],
libc_name="libc.so.6"
fi
],
+ [freebsd*],
+ [
+ libc_name=`ldd /usr/bin/yes | grep 'libc\.' | cut -d ' ' -f 3 | tr -d '\t'`
+ ],
[libc_name="libc.so"]
)
AC_DEFINE_UNQUOTED([LIBC_NAME],["${libc_name}"], [Description])