1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

net/torsocks: Use configure instead of autoreconf

Reported by:	tobik
This commit is contained in:
Yuri Victorovich 2018-07-16 23:15:58 +00:00
parent 328a4c8037
commit dd0503d082
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474760
2 changed files with 1 additions and 14 deletions

View File

@ -13,7 +13,7 @@ COMMENT= Easy way to make any app work through Tor
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
USES= alias autoreconf gmake libtool tar:xz
USES= alias gmake libtool tar:xz
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes

View File

@ -1,13 +0,0 @@
--- 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])