summary refs log tree commit diff
path: root/security/libretls/Makefile
blob: ca29014888a3e68e210d6555416d2a7675f980f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

PORTNAME=	libretls
PORTVERSION=	3.3.1
CATEGORIES=	security devel
MASTER_SITES=	https://causal.agency/libretls/

MAINTAINER=	june@causal.agency
COMMENT=	Port of libtls for OpenSSL

LICENSE=	ISCL

BROKEN_SSL=			libressl
BROKEN_SSL_REASON_libressl=	libtls is provided by LibreSSL

USES=		libtool pathfix pkgconfig ssl
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
CFLAGS+=	-fpic -DPIC -Wl,-rpath,${PREFIX}/lib -Wl,--as-needed
LDFLAGS+=	-pthread

CONFLICTS_INSTALL=	libressl-[0-9]* \
			libressl-devel-[0-9]*

INSTALL_TARGET=		install-strip

.include <bsd.port.mk>