--- setup.py.orig	2019-08-07 10:46:04.000000000 -0400
+++ setup.py	2019-08-07 10:47:01.000000000 -0400
@@ -20,7 +20,7 @@
     raise RuntimeError("PyMVPA requires Python 2.6 or higher")
 
 # some config settings
-bind_libsvm = 'local' # choices: 'local', 'system', None
+bind_libsvm = 'system' # choices: 'local', 'system', None
 
 libsvmc_extra_sources = []
 libsvmc_include_dirs = []
@@ -75,12 +75,7 @@
     libsvmc_libraries += ['svm']
     if not sys.platform.startswith('win'):
         libsvmc_include_dirs += [
-            '/usr/include/libsvm-3.0/libsvm',
-            '/usr/include/libsvm-2.0/libsvm',
-            '/usr/include/libsvm',
-            '/usr/local/include/libsvm',
-            '/usr/local/include/libsvm-2.0/libsvm',
-            '/usr/local/include']
+            '@@PREFIX@@/include']
     else:
         # no clue on windows
         pass
