From 08bfa7c4aa027efa35afd531304e476e4f713b80 Mon Sep 17 00:00:00 2001 From: stas Date: Mon, 9 Mar 2009 17:15:43 +0000 Subject: - 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 --- audio/ifp-line/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'audio/ifp-line') diff --git a/audio/ifp-line/Makefile b/audio/ifp-line/Makefile index f1a95a8a4460..c08ce5d28dc5 100644 --- a/audio/ifp-line/Makefile +++ b/audio/ifp-line/Makefile @@ -15,13 +15,23 @@ MASTER_SITE_SUBDIR= ifp-driver MAINTAINER= riggs@rrr.de COMMENT= Command line interface to iRiver music players -LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb - MAN1= ifp.1 PLIST_FILES+= bin/ifp +.include + +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif + +post-patch: +.if ${OSVERSION} >= 800069 + @${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \ + -e 's,`libusb-config --libs`,-lusb,g' ${WRKSRC}/Makefile +.endif + post-install: @${CAT} ${.CURDIR}/pkg-message -.include +.include -- cgit