--- bsddb3-6.2.6.old/setup2.py +++ bsddb3-6.2.6/setup2.py @@ -203,12 +203,12 @@ compiler = distutils.ccompiler.new_compiler() lib_dirs = compiler.library_dirs + [ - '/lib64', '/usr/lib64', - '/lib', '/usr/lib', - '/usr/lib/x86_64-linux-gnu/', + '__META_PRODTREE__/db/lib' , + '__META_SYSTREE__/lib' , ] inc_dirs = compiler.include_dirs + [ - '/usr/include', '/usr/local/opt/berkeley-db/include', + '__META_PRODTREE__/db/include' , + '__META_SYSTREE__/include' , ] # See whether there is a Oracle or Sleepycat header in the standard --- bsddb3-6.2.6.old/setup3.py +++ bsddb3-6.2.6/setup3.py @@ -203,12 +203,12 @@ compiler = distutils.ccompiler.new_compiler() lib_dirs = compiler.library_dirs + [ - '/lib64', '/usr/lib64', - '/lib', '/usr/lib', - '/usr/lib/x86_64-linux-gnu/', + '__META_PRODTREE__/db/lib' , + '__META_SYSTREE__/lib' , ] inc_dirs = compiler.include_dirs + [ - '/usr/include', '/usr/local/opt/berkeley-db/include', + '__META_PRODTREE__/db/include' , + '__META_SYSTREE__/include' , ] # See whether there is a Oracle or Sleepycat header in the standard