aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2012-02-04 03:56:14 +0800
committerpav <pav@FreeBSD.org>2012-02-04 03:56:14 +0800
commite392e5c83258d5a18c1d721267411154b818b974 (patch)
treefa21e546622677f408d65efaf6d275ea92156e2a /sysutils
parent0d0eda2f0bff7dc45ad1f18097748b1e3b52f557 (diff)
downloadfreebsd-ports-gnome-e392e5c83258d5a18c1d721267411154b818b974.tar.gz
freebsd-ports-gnome-e392e5c83258d5a18c1d721267411154b818b974.tar.zst
freebsd-ports-gnome-e392e5c83258d5a18c1d721267411154b818b974.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
Diffstat (limited to 'sysutils')
-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>