summary refs log tree commit diff
path: root/security/libretls/Makefile
blob: 0307a06f985f3cc0bcf91c29fd5d20a3011f76b0 (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.0
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>