diff options
author | stas <stas@FreeBSD.org> | 2009-03-10 01:15:43 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-03-10 01:15:43 +0800 |
commit | 08bfa7c4aa027efa35afd531304e476e4f713b80 (patch) | |
tree | 31b7120f0eb5ff46ed252641018a5ff19ff41fc3 /devel/py-usb | |
parent | 982434000a36499258eff52f7032254355edca7a (diff) | |
download | freebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.tar.gz freebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.tar.zst freebsd-ports-gnome-08bfa7c4aa027efa35afd531304e476e4f713b80.zip |
- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
in USB stack.
Reviewed by: thompsa (old version), miwi
Tested by: miwi
Diffstat (limited to 'devel/py-usb')
-rw-r--r-- | devel/py-usb/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile index 6b0925f5eaba..bc867a8b425a 100644 --- a/devel/py-usb/Makefile +++ b/devel/py-usb/Makefile @@ -16,11 +16,16 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= R.Mahmatkhanov@SKYLINK.ru COMMENT= Python wrapper around libusb -BUILD_DEPENDS= ${LOCALBASE}/lib/libusb.so:${PORTSDIR}/devel/libusb RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= yes USE_PYDISTUTILS= yes PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= ${LOCALBASE}/lib/libusb.so:${PORTSDIR}/devel/libusb +.endif + +.include <bsd.port.post.mk> |