freebsd-ports/devel/libudev-devd/Makefile
Piotr Kubaj b6dd4bc37d devel/libudev-devd: fix build with gcc10
Don't set -Werror:
../udev-device.c: In function 'udev_device_new_from_devnum':
../udev-device.c:93:2: error: 'strncpy' output may be truncated copying 31 bytes from a string of length 78 [-Werror=stringop-truncation]
   93 |  strncpy(devbuf, devpath + 1, 31);
2021-01-15 20:49:26 +00:00

30 lines
550 B
Makefile

# $FreeBSD$
PORTNAME= libudev-devd
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= x11@FreeBSD.org
COMMENT= libudev-compatible interface for devd
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
USES= compiler:c11 localbase meson
USE_LDCONFIG= yes
CFLAGS+= -Wno-error
PLIST_FILES= include/libudev.h \
lib/libudev.so \
lib/libudev.so.0 \
lib/libudev.so.0.0.0 \
libdata/pkgconfig/libudev.pc
.include <bsd.port.mk>