1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/security/bearssl/Makefile
Mark Linimon e08c1e8206 This port doesn't build for submitter with threaded make (on powerpc64).
Add MAKE_JOBS_UNSAFE=yes to fix build.

While here, pet portlint.

PR:		235528
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2019-02-18 01:33:57 +00:00

27 lines
769 B
Makefile

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= bearssl
PORTVERSION= 0.6
CATEGORIES= security devel
MASTER_SITES= https://bearssl.org/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Implementation of TLS/SSL in C
LICENSE= MIT
LIBBEARSSL= libbearssl.so.0
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}" LDDLLFLAGS="-shared -Wl,-soname=${LIBBEARSSL}" \
BEARSSLDLL=${LIBBEARSSL}
MAKE_JOBS_UNSAFE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${PREFIX}/bin/
${INSTALL_LIB} ${WRKSRC}/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/
${RLN} ${STAGEDIR}${PREFIX}/lib/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/libbearssl.so
(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include)
.include <bsd.port.mk>