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