aboutsummaryrefslogtreecommitdiffstats
path: root/devel/aws-sdk-cpp/Makefile
blob: 452798909790e1338560ce64fdf7c7d9ca190955 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=   aws-sdk-cpp
PORTVERSION=    1.4.14
CATEGORIES= devel

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++11 interface for Amazon Web Services (AWS)

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

BROKEN_FreeBSD_12=  C++ error: https://github.com/aws/aws-sdk-cpp/issues/825
BROKEN_aarch64=     fails to build: runaway process
BROKEN_armv6=       fails to build: runaway process
BROKEN_armv7=       fails to build: runaway process
BROKEN_powerpc64=   fails to build: runaway process

LIB_DEPENDS=    libcurl.so:ftp/curl

USES=       cmake pkgconfig compiler:c++11-lib ssl
USE_GITHUB= yes
GH_ACCOUNT= aws
USE_LDCONFIG=   yes
CXXFLAGS=   -Wno-error -Wno-c11-extensions

post-patch:
    ${REINPLACE_CMD} -e "s,/pkgconfig,/../libdata/pkgconfig,g" \
        ${WRKSRC}/aws-cpp-sdk-core/CMakeLists.txt \
        ${WRKSRC}/cmake/utilities.cmake

.include <bsd.port.mk>