diff options
Diffstat (limited to 'dev-python/pycrypto/files/pycrypto-2.0.1-gmp.patch')
-rw-r--r-- | dev-python/pycrypto/files/pycrypto-2.0.1-gmp.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/dev-python/pycrypto/files/pycrypto-2.0.1-gmp.patch b/dev-python/pycrypto/files/pycrypto-2.0.1-gmp.patch deleted file mode 100644 index 7580c951bfe8..000000000000 --- a/dev-python/pycrypto/files/pycrypto-2.0.1-gmp.patch +++ /dev/null @@ -1,16 +0,0 @@ -Give control over gmp support - ---- pycrypto/setup.py -+++ pycrypto/setup.py -@@ -116,10 +116,8 @@ - build_ext.build_extensions(self) - - def detect_modules (self): -- lib_dirs = self.compiler.library_dirs + ['/lib', '/usr/lib'] -- inc_dirs = self.compiler.include_dirs + ['/usr/include'] - exts = [] -- if (self.compiler.find_library_file(lib_dirs, 'gmp')): -+ if os.environ.has_key("USE_GMP") and os.environ["USE_GMP"] == "1": - exts.append(Extension("Crypto.PublicKey._fastmath", - include_dirs=['src/'], - libraries=['gmp'], |