1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/bearssl/Makefile
Mark Felder 7208268064 security/bearssl: Fix build with Clang
Using MAKE_ARGS allows building with clang.

Submitted by:	bapt
2017-04-09 20:05:37 +00:00

23 lines
587 B
Makefile

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= bearssl
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= security devel
MASTER_SITES= https://bearssl.org/
MAINTAINER= feld@FreeBSD.org
COMMENT= Implementation of TLS/SSL in C
LICENSE= MIT
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${LOCALBASE}/bin/
${INSTALL_LIB} ${WRKSRC}/build/libbearssl.so ${STAGEDIR}${LOCALBASE}/lib/
(cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${LOCALBASE}/include)
.include <bsd.port.mk>