From 6743d66769fcd3ee9204cb6f2a6906695a217d28 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 6 Nov 2004 23:12:14 +0000 Subject: [PATCH] - Fix build on amd64 (crude hack to pass -fPIC to c++ compiles) Reported by: pointyhat via kris Tested on: arved's box --- biology/py-biopython/files/patch-setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 biology/py-biopython/files/patch-setup.py diff --git a/biology/py-biopython/files/patch-setup.py b/biology/py-biopython/files/patch-setup.py new file mode 100644 index 000000000000..fdbd92ff3b60 --- /dev/null +++ b/biology/py-biopython/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Fri May 14 15:17:43 2004 ++++ setup.py Sun Nov 7 01:02:10 2004 +@@ -199,7 +199,7 @@ + self.compiler.set_executable("linker_so", + cxx + ["-shared"]) + elif build: # fix for 2.3, only if we are making C++ modules +- self.compiler.compiler_so = self.compiler.compiler_cxx ++ self.compiler.compiler_so = self.compiler.compiler_cxx + ["-fPIC"] + else: + self.compiler.compiler_so = self._original_compiler_so +