security/bearssl: Fix build with Clang

Using MAKE_ARGS allows building with clang.

Submitted by:	bapt
This commit is contained in:
Mark Felder 2017-04-09 20:05:37 +00:00
parent d6693e0a49
commit 7208268064
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438117

View file

@ -3,7 +3,7 @@
PORTNAME= bearssl
PORTVERSION= 0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security devel
MASTER_SITES= https://bearssl.org/
@ -12,7 +12,7 @@ COMMENT= Implementation of TLS/SSL in C
LICENSE= MIT
USE_GCC= yes
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${LOCALBASE}/bin/