diff --git a/Portfile b/Portfile
index 9c9968a..77945fc 100644
a
|
b
|
checksums md5 5667a00af1ac0d5062103b4512e227f8 \ |
21 | 21 | |
22 | 22 | depends_lib-append port:libusb-compat |
23 | 23 | |
| 24 | patchfiles setup.patch |
| 25 | |
24 | 26 | post-destroot { |
25 | 27 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
26 | 28 | xinstall -m 644 -W ${worksrcpath} README license.txt \ |
diff --git a/files/setup.patch b/files/setup.patch
new file mode 100644
index 0000000..d4503c7
-
|
+
|
|
| 1 | --- setup.py.orig 2010-05-14 22:20:20.000000000 +0200 |
| 2 | +++ setup.py 2010-05-14 22:20:41.000000000 +0200 |
| 3 | @@ -35,8 +35,8 @@ |
| 4 | '-framework', |
| 5 | 'IOKit', |
| 6 | '-L/sw/lib', |
| 7 | - '-L/usr/local/lib'] |
| 8 | - extra_compile_args = ['-I/sw/include','-I/usr/local/lib'] |
| 9 | + '-L/opt/local/lib'] |
| 10 | + extra_compile_args = ['-I/sw/include','-I/opt/local/include'] |
| 11 | # Juha Torkkel has reported problems compiling on freebsd |
| 12 | # when libusb is in /usr/local tree. I don't know on freebsd, but |
| 13 | # on Linux the paths to usr/local are in $PATH. |