aboutsummaryrefslogtreecommitdiff
path: root/net/shadowsocks-libev
diff options
context:
space:
mode:
authorFukang Chen <loader@FreeBSD.org>2016-01-19 13:53:24 +0000
committerFukang Chen <loader@FreeBSD.org>2016-01-19 13:53:24 +0000
commitb7ac3b07e3ccc98b7fef5af2f6a48bf55a9e1d51 (patch)
tree8ea46727fc096f2ea5fe36b1267e119628eb6654 /net/shadowsocks-libev
parentf0c902ab078d072542e9fe443f06ac74a42c50a4 (diff)
downloadports-b7ac3b07e3ccc98b7fef5af2f6a48bf55a9e1d51.tar.gz
ports-b7ac3b07e3ccc98b7fef5af2f6a48bf55a9e1d51.zip
Notes
Diffstat (limited to 'net/shadowsocks-libev')
-rw-r--r--net/shadowsocks-libev/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile
index 6f84d230211c..a9176fbe9880 100644
--- a/net/shadowsocks-libev/Makefile
+++ b/net/shadowsocks-libev/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= shadowsocks-libev
-DISTVERSIONPREFIX=v
PORTVERSION= 1.6.4
+DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= xiaoding+freebsd@xiaoding.org
@@ -25,6 +25,8 @@ USE_RC_SUBR= shadowsocks_libev
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's|^#ifdef TCP_FASTOPEN|#if defined(TCP_FASTOPEN) \&\& defined(__linux)|' \
+ ${WRKSRC}/src/local.c ${WRKSRC}/src/server.c
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}