aboutsummaryrefslogtreecommitdiff
path: root/net/csocks
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-08-18 12:10:12 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-08-18 12:10:12 +0000
commit65d3fa2492ae6b8fefcaeeb66f31d5641e1c6fef (patch)
tree52723ad35ff33870ec28856ebadb4315cda58b5c /net/csocks
parentaf7b74e2ddc2db208524011ec443f5998f5751e6 (diff)
downloadports-65d3fa2492ae6b8fefcaeeb66f31d5641e1c6fef.tar.gz
ports-65d3fa2492ae6b8fefcaeeb66f31d5641e1c6fef.zip
net/csocks: Remove bits that probably shouldn't be there
PR: 230362
Notes
Notes: svn path=/head/; revision=477499
Diffstat (limited to 'net/csocks')
-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.