Ticket #37875: dfu-programmer.patch
File dfu-programmer.patch, 1.7 KB (added by g5pw (Aljaž Srebrnič), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name dfu-programmer 7 version 0. 5.47 version 0.6.2 8 8 categories cross devel 9 9 maintainers vogelgsang.org:chris 10 10 description dfu-programmer is a Device Firmware Update based USB programmer for Atmel chips with a USB bootloader. … … 16 16 homepage http://dfu-programmer.sourceforge.net/ 17 17 platforms darwin 18 18 master_sites sourceforge 19 checksums md5 707dcd0f957a74e92456ea6919faa772 \ 20 sha1 f0fcc8faa0f11e53feaa36a01307328a0b0993d3 \ 21 rmd160 2c04af6f1a4a3b2df668a6ec40d23bf9f37aff68 22 depends_lib port:libusb-compat 19 20 depends_lib port:libusb 23 21 configure.args --mandir=${prefix}/share/man 22 23 checksums rmd160 1dbf982c5e986a56287fefe103ff2641a6b0af93 \ 24 sha256 0120966a424dd98124962055750e90cbd6c7b6b0fbf5b187bf435daa0a24af65 25 26 27 patchfiles configure.patch -
files/configure.patch
1 --- configure 2013-07-19 01:26:22.000000000 +0200 2 +++ configure.new 2014-04-25 12:08:31.000000000 +0200 3 @@ -3582,7 +3582,7 @@ 4 have_libusb_1_0=no 5 if test "$disable_libusb_1_0" = "no"; then 6 have_libusb_1_0=yes 7 - LIBUSB_1_0_CFLAGS=-I/usr/include/libusb-1.0 8 + LIBUSB_1_0_CFLAGS="-I$prefix/include/libusb-1.0" 9 LIBUSB_1_0_LIBS=-lusb-1.0 10 if test "$have_libusb_1_0" = "yes"; then 11 $as_echo "using libusb_1.0";