Unbreak after the move from libusb->libusb-compat.

thanks naddy@ for noticing.
This commit is contained in:
ajacoutot 2011-11-14 18:30:53 +00:00
parent 5781077ac6
commit 77e045e5d3

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.5 2011/09/20 21:20:49 jasper Exp $
# $OpenBSD: Makefile,v 1.6 2011/11/14 18:30:53 ajacoutot Exp $
COMMENT = Open On-Chip Debugging
DISTNAME = openocd-0.5.0
CATEGORIES = devel
REVISION = 0
SHARED_LIBS += openocd 0.0 # .0.0
@ -16,7 +17,8 @@ PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m usb ftdi
WANTLIB += c ftdi jim m pthread usb usb-1.0
MASTER_SITES = ${MASTER_SITE_BERLIOS:=openocd/}
EXTRACT_SUFX = .tar.bz2
@ -38,7 +40,7 @@ CONFIGURE_ARGS = --disable-werror \
--disable-internal-jimtcl
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib -pthread"
LIB_DEPENDS = devel/libftdi \
lang/jimtcl