feinerer f84d879099 Use standard type u_int32_t instead of __u32.
Build error after sys/videoio.h update reported by naddy@.
2017-02-19 18:49:01 +00:00

30 lines
606 B
Makefile

# $OpenBSD: Makefile,v 1.11 2017/02/19 18:49:01 feinerer Exp $
COMMENT= V4L compatible video application
DISTNAME= luvcview-20070512
REVISION= 6
CATEGORIES= graphics x11
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
HOMEPAGE= http://mxhaard.free.fr/
MASTER_SITES= ${HOMEPAGE}/spca50x/Investigation/uvc/
LIB_DEPENDS= devel/sdl>=1.2.5
WANTLIB= SDL c pthread
MAKE_FLAGS= CC="${CC}" \
CFLAGS+="-I${X11BASE}/include -I${LOCALBASE}/include"
NO_TEST= Yes
post-patch:
sed -i 's/__u32/u_int32_t/g' ${WRKSRC}/v4l2uvc.[ch]
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/luvcview ${PREFIX}/bin
.include <bsd.port.mk>