summaryrefslogtreecommitdiff
path: root/net-irc/epic5/files/epic5-1.1.10-socks5-libsocks.patch
blob: 4aef0c7d6af3e55276c83a7bcb2dddba3e68ab55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Nathan Phillip Brink <binki@gentoo.org>
Subject: Use -lsocks instead of -lsocks5 for `./configure --with-socks5`.

--- a/configure.in
+++ b/configure.in
@@ -861,7 +861,7 @@
 
 AC_MSG_CHECKING(whether to support SOCKS)
 AC_ARG_WITH(socks,
-[  --with-socks[=PATH]     Compile with SOCKS firewall traversal support.],
+[  --with-socks[=PATH]     Compile with SOCKS (libsocks without socks.h) firewall traversal support.],
 [ case "$withval" in
   no)
 	AC_MSG_RESULT(no)
@@ -887,7 +887,7 @@
 
 AC_MSG_CHECKING(whether to support SOCKS5)
 AC_ARG_WITH(socks5,
-[  --with-socks5[=PATH]    Compile with SOCKS5 firewall traversal support.],
+[  --with-socks5[=PATH]    Compile with SOCKS5 (libsocks with socks.h) firewall traversal support.],
 [ case "$withval" in
   no)
 	AC_MSG_RESULT(no)
@@ -899,7 +899,7 @@
 	fi
 
 	AC_MSG_RESULT(yes)
-	LIBS="$LIBS -lsocks5"
+	LIBS="$LIBS -lsocks"
 	AC_DEFINE(SOCKS)
 	AC_DEFINE(USE_SOCKS5)
 	;;