summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/csocks/Makefile1
-rw-r--r--net/csocks/files/patch-Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/net/csocks/Makefile b/net/csocks/Makefile
index afdc7737b4d8..b543e4fa8dcd 100644
--- a/net/csocks/Makefile
+++ b/net/csocks/Makefile
@@ -3,6 +3,7 @@
PORTNAME= csocks
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://csocks.altervista.org/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/net/csocks/files/patch-Makefile b/net/csocks/files/patch-Makefile
index be90e73fd786..03053475ba84 100644
--- a/net/csocks/files/patch-Makefile
+++ b/net/csocks/files/patch-Makefile
@@ -7,7 +7,7 @@
-
# flags to compile object files that can be used in a dynamic library
-CFLAGS = -Wall -fPIC -g -c -O2 -std=c99 -fno-strict-aliasing -D'LINUX' -D'CSOCKS_PATH_LIBC="libc.so.6"' -D'CSOCKS_LIBCONNECT="libc.so.6"' -D'CSOCKS_CONF="/etc/csocks.conf"'
-+CFLAGS += -fPIC -std=c99 -fno-strict-aliasing -D'LINUX' -D'CSOCKS_PATH_LIBC="libc.so.7"' -D'CSOCKS_LIBCONNECT="libc.so.7"' -D'CSOCKS_CONF="${PREFIX}/etc/csocks.conf"'
++CFLAGS += -fPIC -std=c99 -fno-strict-aliasing -D'CSOCKS_CONF="${PREFIX}/etc/csocks.conf"'
# on some platforms, use '-fpic' instead.