]>
Commit | Line | Data |
---|---|---|
be0f0852 AG |
1 | --- PyQt-x11-gpl-4.4.3/configure.py.orig 2008-08-08 16:09:58.000000000 +0200 |
2 | +++ PyQt-x11-gpl-4.4.3/configure.py 2008-08-24 21:30:54.555681941 +0200 | |
24bfda59 | 3 | @@ -146,6 +146,8 @@ |
be0f0852 AG |
4 | p.add_option("-g", "--consolidate", action="store_true", default=False, |
5 | dest="bigqt", help="create a single module which links against " | |
6 | "all the Qt libraries") | |
24bfda59 | 7 | + p.add_option("--dbus-path", default=None, dest="pydbusmoddir", metavar="DIR", |
be0f0852 AG |
8 | + type="string", help="path to install dbus module") |
9 | ||
10 | # These are internal options used to build the mega Windows GPL package. | |
11 | p.add_option("--mwg-odbc", action="store_true", default=False, | |
12 | @@ -1055,7 +1058,10 @@ | |
13 | return | |
14 | ||
15 | global pydbusmoddir | |
16 | - pydbusmoddir = dbus.mainloop.__path__[0] | |
17 | + if opts.pydbusmoddir: | |
18 | + pydbusmoddir = opts.pydbusmoddir | |
19 | + else: | |
20 | + pydbusmoddir = dbus.mainloop.__path__[0] | |
21 | ||
22 | # Try and find dbus-python.h. We don't use pkg-config because it is broken | |
23 | # for dbus-python (at least for versions up to and including v0.81.0). |