summaryrefslogtreecommitdiff
path: root/packages/python/python-m2crypto/install.patch
blob: 6c70ccf516a0b1b73353616b6a501765d2178deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: m2crypto-0.18.2/setup.py
===================================================================
--- m2crypto-0.18.2.orig/setup.py
+++ m2crypto-0.18.2/setup.py
@@ -38,7 +38,7 @@ class _M2CryptoBuildExt(build_ext.build_
             self.openssl = 'c:\\pkg'
         else:
             self.libraries = ['ssl', 'crypto']
-            self.openssl = '/usr'
+            self.openssl = os.environ.get( "STAGING_DIR" )
        
     
     def finalize_options(self):
@@ -47,8 +47,8 @@ class _M2CryptoBuildExt(build_ext.build_
 
         build_ext.build_ext.finalize_options(self)
 
-        opensslIncludeDir = os.path.join(self.openssl, 'include')
-        opensslLibraryDir = os.path.join(self.openssl, 'lib')
+        opensslIncludeDir = os.environ.get( "STAGING_INCDIR" )
+        opensslLibraryDir = os.environ.get( "STAGING_LIBDIR" )
         
         self.swig_opts = ['-I%s' % i for i in self.include_dirs + \
                           [opensslIncludeDir]]
telepathy salut: add 0.3.4Koen Kooi4 2008-08-31telepathy gablle: update to 0.7.8Koen Kooi3 2008-08-31telepathy glib: update to 0.7.14 Koen Kooi1 2008-08-17telepathy-python: RDEPENDS on python-dbus instead of the non-existant dbus-py...Rolf Leggewie1 2008-01-26divers: replace '=' definition of dbg packages with '+=' for 43 files. fixes...Rolf Leggewie3 2007-10-31telepathy-inspector: add 0.5.0, a debugging tool for Telepathy developersPhilipp Zabel3 2007-10-29telepathy: add telepathy-idle 0.1.2Philipp Zabel1 2007-10-19empathy: add 0.14Philipp Zabel1 2007-10-19telepathy: add telepathy-python 0.14.0Philipp Zabel1 2007-10-19telepathy-mission-control: add 4.45Philipp Zabel1 2007-10-19telepathy-glib: add 0.6.0Philipp Zabel1 2007-10-19libtelepathy: add 0.2.0Philipp Zabel1