aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usb_modeswitch/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2012-02-03 19:56:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2012-02-03 19:56:14 +0000
commit771c7cab08735e443f5bee0ba96b1c4df23305a1 (patch)
treecdeb9ea22ad364be2ef1a33df98781faa2cb5944 /sysutils/usb_modeswitch/Makefile
parent0ba4ae9ea0b4e556d63527c45e7197a875188bbb (diff)
downloadports-771c7cab08735e443f5bee0ba96b1c4df23305a1.tar.gz
ports-771c7cab08735e443f5bee0ba96b1c4df23305a1.zip
- 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
Notes
Notes: svn path=/head/; revision=290351
Diffstat (limited to 'sysutils/usb_modeswitch/Makefile')
-rw-r--r--sysutils/usb_modeswitch/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/usb_modeswitch/Makefile b/sysutils/usb_modeswitch/Makefile
index 54c32e20dec3..867e902dc1aa 100644
--- a/sysutils/usb_modeswitch/Makefile
+++ b/sysutils/usb_modeswitch/Makefile
@@ -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>