Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 15:15:49 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r406709 - branches/2016Q1/net/shadowsocks-libev
Message-ID:  <201601191515.u0JFFnrx032136@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Tue Jan 19 15:15:49 2016
New Revision: 406709
URL: https://svnweb.freebsd.org/changeset/ports/406709

Log:
  MFH: r406685
  
  - Disable TCP_FASTOPEN to fix build on 11.0-CURRENT
  - Pet portlint (PORTVERSION appears out-of-order)
  
  PR:             206338
  Approved by:    koobs
  Approved by:    Xiaoding Liu <xiaoding xiaoding org> (maintainer)
  Submitted by:   loader
  Approved by:    portmgr (erwin)

Modified:
  branches/2016Q1/net/shadowsocks-libev/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/net/shadowsocks-libev/Makefile
==============================================================================
--- branches/2016Q1/net/shadowsocks-libev/Makefile	Tue Jan 19 15:10:54 2016	(r406708)
+++ branches/2016Q1/net/shadowsocks-libev/Makefile	Tue Jan 19 15:15:49 2016	(r406709)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601191515.u0JFFnrx032136>