mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
28 lines
655 B
Makefile
28 lines
655 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpp-netlib
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
DISTVERSION= 0.12.0
|
|
DISTVERSIONSUFFIX= -final
|
|
PORTREVISION= 8
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Cross-platform, standards compliant networking library
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
|
|
|
|
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
|
|
asio>0:net/asio
|
|
|
|
USES= cmake:outsource compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
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.mk>
|