Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 13:53:25 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406685 - head/net/shadowsocks-libev
Message-ID:  <201601191353.u0JDrPJJ005646@repo.freebsd.org>

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

Log:
  - 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
  MFH:            2016Q1

Modified:
  head/net/shadowsocks-libev/Makefile

Modified: head/net/shadowsocks-libev/Makefile
==============================================================================
--- head/net/shadowsocks-libev/Makefile	Tue Jan 19 13:04:47 2016	(r406684)
+++ head/net/shadowsocks-libev/Makefile	Tue Jan 19 13:53:24 2016	(r406685)
@@ -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?201601191353.u0JDrPJJ005646>