mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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
This commit is contained in:
parent
f0c902ab07
commit
b7ac3b07e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406685
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue