--- setup.py.orig	2009-06-13 03:15:47.000000000 +1000
+++ setup.py	2010-05-18 00:18:54.000000000 +1000
@@ -34,9 +34,8 @@
                        'CoreFoundation',
                        '-framework',
                        'IOKit',
-                       '-L/sw/lib',
-                       '-L/usr/local/lib']
-    extra_compile_args = ['-I/sw/include','-I/usr/local/lib', '-l/opt/local/lib']
+                       '-L__PREFIX__/lib']
+    extra_compile_args = ['-I__PREFIX__/include']
 # Juha Torkkel has reported problems compiling on freebsd
 # when libusb is in /usr/local tree. I don't know on freebsd, but
 # on Linux the paths to usr/local are in $PATH.