aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libnxt
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-03-10 01:15:43 +0800
committerstas <stas@FreeBSD.org>2009-03-10 01:15:43 +0800
commit08bfa7c4aa027efa35afd531304e476e4f713b80 (patch)
tree31b7120f0eb5ff46ed252641018a5ff19ff41fc3 /devel/libnxt
parent982434000a36499258eff52f7032254355edca7a (diff)
downloadfreebsd-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/libnxt')
-rw-r--r--devel/libnxt/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/libnxt/Makefile b/devel/libnxt/Makefile
index 72f977d39857..216e33d9acf4 100644
--- a/devel/libnxt/Makefile
+++ b/devel/libnxt/Makefile
@@ -14,13 +14,18 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Lego NXT library
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \
python:${PORTSDIR}/lang/python
SUB_FILES= pkg-message
USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+.endif
+
do-build:
(cd ${WRKSRC}; scons)
@@ -37,4 +42,4 @@ do-install:
post-install:
@${CAT} ${WRKDIR}/pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>