# $NetBSD: Makefile,v 1.4 2016/07/09 06:38:55 wiz Exp $ # DISTNAME= mbedtls-2.2.1-apache PKGNAME= ${DISTNAME:-apache=} PKGREVISION= 1 CATEGORIES= security devel MASTER_SITES= https://tls.mbed.org/download/ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://tls.mbed.org/ COMMENT= Lightweight, modular cryptographic and SSL/TLS library LICENSE= apache-2.0 CONFLICTS+= polarssl-[0-9]* SUPERSEDES+= polarssl-[0-9]* WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_CMAKE= yes USE_LANGUAGES= c USE_TOOLS+= gmake perl pkg-config GCC_REQD+= 4.4 REPLACE_PERL= tests/scripts/*.pl .include "options.mk" CMAKE_ARGS+= -DUSE_SHARED_MBEDTLS_LIBRARY=ON MAKE_ENV+= RANLIB=${RANLIB:Q} LDFLAGS.SunOS+= -lsocket .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"