summaryrefslogtreecommitdiff
path: root/devel/cpp-netlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cpp-netlib/Makefile')
-rw-r--r--devel/cpp-netlib/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/cpp-netlib/Makefile b/devel/cpp-netlib/Makefile
index 5fb3d253c253..dfb6d077e4f8 100644
--- a/devel/cpp-netlib/Makefile
+++ b/devel/cpp-netlib/Makefile
@@ -3,9 +3,8 @@
PORTNAME= cpp-netlib
DISTVERSIONPREFIX= ${PORTNAME}-
-DISTVERSION= 0.12.0
+DISTVERSION= 0.13.0
DISTVERSIONSUFFIX= -final
-PORTREVISION= 12
CATEGORIES= devel
MAINTAINER= zi@FreeBSD.org
@@ -14,22 +13,16 @@ COMMENT= Cross-platform, standards compliant networking library
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
+LIB_DEPENDS= libboost_system.so:devel/boost-libs
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
- asio>0:net/asio
+ asio>0:net/asio
-USES= cmake compiler:c++11-lang
+USES= cmake compiler:c++11-lang ssl
USE_LDCONFIG= yes
-CFLAGS+= -fPIC
+CFLAGS+= -fPIC
CMAKE_ARGS+= -DCPP-NETLIB_BUILD_EXAMPLES=OFF \
-DCPP-NETLIB_BUILD_SHARED_LIBS=ON \
-DCPP-NETLIB_BUILD_TESTS=OFF
USE_GITHUB= yes
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= no member named 'SSLv2_method' in the global namespace
-BROKEN_FreeBSD_13= no member named 'SSLv2_method' in the global namespace
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>