- Mark BROKEN on FreeBSD 7.X: does not compile

usb_modeswitch.c:58:17: error: usb.h: No such file or directory

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2012-02-03 19:56:14 +00:00
parent 0ba4ae9ea0
commit 771c7cab08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290351

View file

@ -22,9 +22,15 @@ MAKE_JOBS_UNSAFE= yes
MAN1= usb_modeswitch.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not compile on FreeBSD 7.X
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${PREFIX}/etc/usb_modeswitch.conf.sample
${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
.include <bsd.port.post.mk>