blob: d4093fccd722eee6eaa33d2b5139335d3db8d54e (
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
26
27
28
|
PORTNAME= basu
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 928a746f7ebd.patch:-p1 # https://github.com/emersion/basu/pull/35
PATCHFILES+= 4277dfe8077c.patch:-p1 # https://github.com/emersion/basu/pull/35
MAINTAINER= jbeich@FreeBSD.org
COMMENT= sd-bus library, extracted from systemd
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL2.1
USES= compiler:c11 gperf meson python:build shebangfix
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= emersion
SHEBANG_FILES= src/basic/generate-gperfs.py
.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
# bus-error.c:(.text.bus_error_name_to_errno+0x9a): undefined reference to '__start_BUS_ERROR_MAP'
LDFLAGS+= -fuse-ld=lld
.endif
.include <bsd.port.mk>
|