aboutsummaryrefslogtreecommitdiffstats
path: root/palm
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 /palm
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 'palm')
-rw-r--r--palm/barry/Makefile7
-rw-r--r--palm/pilot-link/Makefile2
2 files changed, 7 insertions, 2 deletions
diff --git a/palm/barry/Makefile b/palm/barry/Makefile
index f663116bc4be..66a2727f4619 100644
--- a/palm/barry/Makefile
+++ b/palm/barry/Makefile
@@ -13,8 +13,7 @@ MASTER_SITES= SF
MAINTAINER= meitolake@gmail.com
COMMENT= C++ library for interfacing with the BlackBerry Handheld
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \
- boost_thread.4:${PORTSDIR}/devel/boost
+LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost
USE_BZIP2= yes
USE_LDCONFIG= yes
@@ -31,6 +30,10 @@ OPTIONS= GUI "Build the GUI" On \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+.endif
+
.if defined(WITH_GUI)
LIB_DEPENDS+= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
tar.0:${PORTSDIR}/devel/libtar
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index 7677efae87cc..68b306f2f799 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -39,7 +39,9 @@ CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS
.endif
.if defined(WITH_USB)
+. if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+. endif
CONFIGURE_ARGS+=--enable-libusb
CONFIGURE_ENV+=LDFLAGS="${LDFLAGS} -L${PREFIX}/lib -lusb"