aboutsummaryrefslogtreecommitdiffstats
path: root/net/shadowsocks-libev/Makefile
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-09-11 08:55:02 +0800
committermarino <marino@FreeBSD.org>2016-09-11 08:55:02 +0800
commitd9ca9dd64469c0581cee24e826e7fec05dff3eba (patch)
tree6c93cb18f74811054a7ef24c37bccf18bd69cc86 /net/shadowsocks-libev/Makefile
parentd360df522eadd84e8309c6adec9e5ea43fa8946a (diff)
downloadfreebsd-ports-gnome-d9ca9dd64469c0581cee24e826e7fec05dff3eba.tar.gz
freebsd-ports-gnome-d9ca9dd64469c0581cee24e826e7fec05dff3eba.tar.zst
freebsd-ports-gnome-d9ca9dd64469c0581cee24e826e7fec05dff3eba.zip
net/shadowsocks-libev: document SSL requirement, configure SSL accordingly
Approved by: SSL blanket
Diffstat (limited to 'net/shadowsocks-libev/Makefile')
-rw-r--r--net/shadowsocks-libev/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile
index a9176fbe9880..a1d0e95844f4 100644
--- a/net/shadowsocks-libev/Makefile
+++ b/net/shadowsocks-libev/Makefile
@@ -16,7 +16,10 @@ USE_GITHUB= yes
GH_ACCOUNT= madeye
GNU_CONFIGURE= yes
-USES= gmake libtool:keepla
+USES= gmake libtool:keepla ssl
+CPPFLAGS+= -I${OPENSSLINC}
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+
# Help solve building error since the integrated libsodium enables this option.
CFLAGS+= -fstack-protector