diff options
author | pav <pav@FreeBSD.org> | 2012-02-04 03:56:14 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2012-02-04 03:56:14 +0800 |
commit | e392e5c83258d5a18c1d721267411154b818b974 (patch) | |
tree | fa21e546622677f408d65efaf6d275ea92156e2a /sysutils | |
parent | 0d0eda2f0bff7dc45ad1f18097748b1e3b52f557 (diff) | |
download | freebsd-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/Makefile | 8 |
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> |