Update to use the newer jimtcl and libftdi.

Currently:

$ cd /usr/ports/devel/openocd/ && make configure > /dev/null
configure: WARNING: You need a newer libftdi version (0.20 or later).


Stu


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/openocd/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile    21 Mar 2013 08:45:16 -0000      1.9
+++ Makefile    10 Nov 2013 05:45:37 -0000
@@ -3,6 +3,7 @@
 COMMENT =      Open On-Chip Debugging

 DISTNAME =     openocd-0.6.1
+REVISION =     0
 CATEGORIES =   devel

 SHARED_LIBS +=  openocd                1.0 # unknown
@@ -35,11 +36,11 @@ CONFIGURE_ARGS = --disable-werror \
                --enable-buspirate \
                --disable-internal-jimtcl

-CONFIGURE_ENV =        CPPFLAGS="-I${LOCALBASE}/include " \
+CONFIGURE_ENV =        CPPFLAGS="-I${LOCALBASE}/include 
-I${LOCALBASE}/include/jim" \
                LDFLAGS="-L${LOCALBASE}/lib -pthread"

-LIB_DEPENDS =  devel/libftdi \
-               lang/jimtcl
+LIB_DEPENDS =  devel/libftdi>=0.20 \
+               lang/jimtcl>=0.75

 USE_GMAKE =    Yes
 NO_TEST =      Yes

Reply via email to