Index: head/multimedia/motion/Makefile =================================================================== --- head/multimedia/motion/Makefile +++ head/multimedia/motion/Makefile @@ -3,8 +3,8 @@ PORTNAME= motion PORTVERSION= 4.0.1 -PORTREVISION= 3 DISTVERSIONPREFIX= release- +PORTREVISION= 4 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org @@ -13,10 +13,11 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf gmake jpeg localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= Motion-Project +USE_RC_SUBR= ${PORTNAME} -USES= autoreconf gmake jpeg localbase pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-linuxthreads \ --without-jpeg-mmx @@ -26,7 +27,6 @@ KMODDIR= /boot/modules .endif -USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message PLIST_FILES= bin/motion \ Index: head/multimedia/motion/files/patch-video2.c =================================================================== --- head/multimedia/motion/files/patch-video2.c +++ head/multimedia/motion/files/patch-video2.c @@ -0,0 +1,11 @@ +--- video2.c.orig 2017-08-11 20:05:27 UTC ++++ video2.c +@@ -184,7 +184,7 @@ typedef struct { + /** + * xioctl + */ +-#ifdef __OpenBSD__ ++#if defined (__OpenBSD__) || defined (__FreeBSD__) + static int xioctl(src_v4l2_t *vid_source, unsigned long request, void *arg) + #else + static int xioctl(src_v4l2_t *vid_source, int request, void *arg)