From 5dec21f37d09ff7d44f33ed447a0e2f252c4f346 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 11 Sep 2016 01:50:25 +0000 Subject: [PATCH] security/erlang-p1tls: Add SSL flags Approved by: SSL blanket --- security/erlang-p1tls/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/security/erlang-p1tls/Makefile b/security/erlang-p1tls/Makefile index ce6bd70eeaee..f1e4806f930b 100644 --- a/security/erlang-p1tls/Makefile +++ b/security/erlang-p1tls/Makefile @@ -11,8 +11,7 @@ COMMENT= TLS / SSL native driver for Erlang LICENSE= GPLv2 -USE_OPENSSL= yes -USES= erlang:rebar +USES= erlang:rebar ssl USE_GITHUB= yes GH_ACCOUNT= processone GH_PROJECT= tls @@ -21,6 +20,10 @@ GH_TAGNAME= e56321a USE_LDCONFIG= yes GNU_CONFIGURE= yes +CPPFLAGS+= -I${OPENSSLINC} +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so