summaryrefslogtreecommitdiff
path: root/archivers/unarr/Makefile
blob: 50a23d0f1bf8bb687760b9d9c40b4eb67add568b (plain)
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

PORTNAME=	unarr
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.1
CATEGORIES=	archivers

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Decompression library for RAR, TAR, ZIP and 7z* archives

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_riscv64=		fails to build: Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension

USES=		cmake
USE_GITHUB=	yes
USE_LDCONFIG=	yes
GH_ACCOUNT=	selmf

post-patch:
.if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
	@${REINPLACE_CMD} 's/ -flto//' ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.mk>