1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/basu/Makefile
Jan Beich a418eaab5c devel/basu: unbreak some features on FreeBSD >= 13.0
$ service dbus onestart
$ basuctl status
BusAddress=unix:path=/var/run/dbus/system_bus_socket
BusScope=system
BusID=0123456789abcdef0123456789abcdef
<27>(../src/busctl/busctl.c:1282) Failed to get credentials: No such process
2021-09-03 07:16:14 +00:00

30 lines
913 B
Makefile

PORTNAME= basu
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
PORTREVISION= 1
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
PATCHFILES+= f12a4efd8cb7.patch:-p1 # https://github.com/emersion/basu/pull/40
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>