From 0595d2c1ca0912584a731deffae05879c206871f Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Wed, 25 Mar 2020 12:44:50 +0000 Subject: rename to match portname --- math/py-python-fcl/files/patch-setup.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 math/py-python-fcl/files/patch-setup.py (limited to 'math/py-python-fcl/files/patch-setup.py') diff --git a/math/py-python-fcl/files/patch-setup.py b/math/py-python-fcl/files/patch-setup.py new file mode 100644 index 000000000000..8d1b75c3a11b --- /dev/null +++ b/math/py-python-fcl/files/patch-setup.py @@ -0,0 +1,33 @@ +--- setup.py.orig 2019-06-12 18:08:59 UTC ++++ setup.py +@@ -18,12 +18,14 @@ platform_supported = False + for prefix in ['darwin', 'linux', 'bsd']: + if prefix in sys.platform: + platform_supported = True +- include_dirs = ['/usr/include', ++ include_dirs = [ '/usr/include', ++ '/usr/local/include/fcl05', + '/usr/local/include', + '/usr/include/eigen3'] + lib_dirs = ['/usr/lib', +- '/usr/local/lib'] +- ++ '/usr/local/lib/', ++ '/usr/local/lib/'] ++ + if 'CPATH' in os.environ: + include_dirs += os.environ['CPATH'].split(':') + if 'LD_LIBRARY_PATH' in os.environ: +@@ -78,9 +80,10 @@ setup( + include_dirs = include_dirs, + library_dirs = lib_dirs, + libraries=[ +- "fcl","octomap" ++ "fcl05","octomap" + ], + language="c++", +- extra_compile_args = ["-std=c++11"] ++ extra_compile_args = ["-std=c++11"], ++ extra_link_args = ['-Wl,-rpath, '+'/usr/local/lib/fcl05'] + )] + ) -- cgit v1.2.3