]> git.pld-linux.org Git - packages/sip.git/blob - sip-build.patch
- Release 4. Fixed build process (configure.py used instead of build.py).
[packages/sip.git] / sip-build.patch
1 diff -urN sip-3.3.orig/build.py sip-3.3/build.py
2 --- sip-3.3.orig/build.py       Sun Jul  7 21:53:05 2002
3 +++ sip-3.3/build.py    Tue Jul  9 22:59:21 2002
4 @@ -719,8 +719,8 @@
5      if ismod:
6          global platPyIncDir, platCopy
7  
8 -        f.write("\t-%s sip.h %s\n" % (platCopy,platPyIncDir))
9 -        f.write("\t-%s sipQt.h %s\n" % (platCopy,platPyIncDir))
10 +        f.write("\t-%s sip.h %s\n" % (platCopy,escape(target_dest)+platPyIncDir))
11 +        f.write("\t-%s sipQt.h %s\n" % (platCopy,escape(target_dest)+platPyIncDir))
12  
13      f.close()
14  
15 @@ -739,7 +739,7 @@
16      initGlobals()
17  
18      try:
19 -        optlist, args = getopt.getopt(argv[1:],"hb:d:g:i:l:m:q:wx")
20 +           optlist, args = getopt.getopt(argv[1:],"hb:d:g:i:l:m:q:wxt:")
21      except getopt.GetoptError:
22          usage()
23  
24 @@ -780,6 +780,9 @@
25          elif opt == "-x":
26              global qtVersion
27              qtVersion = -1
28 +        elif opt == "-t":
29 +            global target_dest
30 +            target_dest=arg
31  
32      installChecks()
33      maindir = mkTempBuildDir()
This page took 0.06887 seconds and 3 git commands to generate.