diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
commit | f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch) | |
tree | 343e91600b9cf81ffb94bf71017b43a88bfcbf45 /devel/p5-Device-USB | |
parent | e9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff) | |
download | ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.tar.gz ports-f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa.zip |
Notes
Diffstat (limited to 'devel/p5-Device-USB')
-rw-r--r-- | devel/p5-Device-USB/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/p5-Device-USB/Makefile b/devel/p5-Device-USB/Makefile index 739116a227fa..085052a259b8 100644 --- a/devel/p5-Device-USB/Makefile +++ b/devel/p5-Device-USB/Makefile @@ -17,7 +17,6 @@ MAINTAINER= jwbacon@tds.net COMMENT= Perl wrapper for libusb BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline -LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb WRKSRC= ${WRKDIR}/Device-USB-0.21 PERL_CONFIGURE= yes @@ -31,4 +30,10 @@ MAN3= Device::USB.3 \ Device::USB::FAQ.3 \ Device::dump_usb.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif + +.include <bsd.port.post.mk> |