Ticket #44855: openocd-0.8.0-libusb1-libftdi.patch
File openocd-0.8.0-libusb1-libftdi.patch, 3.3 KB (added by IvoClarysse (Ivo Clarysse), 10 years ago) |
---|
-
(a) Portfile-orig vs. (b) Portfile
a b 4 4 PortSystem 1.0 5 5 6 6 name openocd 7 version 0. 7.07 version 0.8.0 8 8 categories cross devel 9 9 license GPL 10 10 maintainers snc openmaintainer … … 20 20 master_sites sourceforge:project/openocd/openocd/${version} 21 21 22 22 use_bzip2 yes 23 checksums md5 8977a26a4e3a529e1c4fcc0df587a6a4 \ 24 sha1 40fa518af4fae273f24478249fc03aa6fcce9176 \ 25 rmd160 f232ce21a054ad56a80f0605fe8b22b6712434f0 \ 26 sha256 52237b786530c8460b221556c26fa4779f668b7dcb83ff14b8c5eb2050f38e63 23 checksums sha1 10bf9eeb54e03083cb1a101785b2d69fbdf18f31 \ 24 rmd160 812755bb51ccf6bb11e4b6aac6dd1c0c674c43b7 \ 25 sha256 5b076c324400ef0198ce6e21616e17f7a1a12f749362821ce0b03ec62c3cd32f 27 26 28 27 configure.args-append --disable-werror --enable-maintainer-mode 29 28 30 default_variants +ft 223229 default_variants +ftdi 31 30 32 31 variant dummy description {Enable building the dummy port driver} { 33 32 configure.args-append --enable-dummy … … 37 36 configure.args-append --enable-parport 38 37 } 39 38 39 variant ftdi conflicts ft2232_libftdi description {Enable building OpenOCD's built-in FTDI driver.} { 40 configure.args-append --enable-ftdi 41 depends_lib-append port:libusb 42 } 43 44 # The ft2232 variant is deprecated, the ftdi variant is its replacement 40 45 variant ft2232 conflicts ft2232_ftd2xx description {Enable building support for FT2232 based devices using the libftdi driver, opensource alternate of FTD2XX} { 41 configure.args-append --enable-ft2232_libftdi 42 depends_lib-append port:libftdi0 \ 43 port:libusb-compat 46 configure.args-append --enable-legacy-ft2232_libftdi 47 depends_lib-append port:libftdi1 44 48 } 45 49 50 # The ft2232_ftd2xx variant is deprecated, the ftdi variant is its replacement 46 51 variant ft2232_ftd2xx conflicts ft2232 description {Enable building support for FT2232 based devices using the FTD2XX driver from ftdichip.com} { 47 52 patchfiles-append patch-ftd2xx-path.diff 48 configure.args-append --enable-ft2232_ftd2xx 53 use_autoreconf yes 54 configure.args-append --enable-legacy-ft2232_ftd2xx 49 55 depends_lib-append port:libftd2xx 50 56 } 51 57 52 58 variant usb_blaster conflicts usb_blaster_ftd2xx description {Enable building support for the Altera USB-Blaster using the libftdi driver, opensource alternate of FTD2XX} { 53 59 configure.args-append --enable-usb_blaster_libftdi 54 depends_lib-append port:libftdi 060 depends_lib-append port:libftdi1 55 61 } 56 62 57 63 variant usb_blaster_ftd2xx conflicts usb_blaster description {Enable building support for the Altera USB-Blaster using the FTD2XX driver from ftdichip.com} { 64 patchfiles-append patch-ftd2xx-path.diff 65 use_autoreconf yes 58 66 configure.args-append --enable-usb_blaster_ftd2xx 59 67 depends_lib-append port:libftd2xx 60 68 } … … 93 101 94 102 variant presto conflicts presto_ftd2xx description {Enable building support for ASIX Presto Programmer using the libftdi driver} { 95 103 configure.args-append --enable-presto_libftdi 96 depends_lib-append port:libftdi 0104 depends_lib-append port:libftdi1 97 105 } 98 106 99 107 variant presto_ftd2xx conflicts presto description {Enable building support for ASIX Presto Programmer using the FTD2XX driver} {