]> git.pld-linux.org Git - packages/serf.git/blob - serf-scons.patch
- updated to 1.3.1 (note: new soname; build system changed to scons)
[packages/serf.git] / serf-scons.patch
1 --- serf-1.3.1/SConstruct.orig  2013-08-15 11:13:20.000000000 +0200
2 +++ serf-1.3.1/SConstruct       2013-08-25 09:57:51.577679354 +0200
3 @@ -178,7 +178,6 @@
4  unknown = opts.UnknownVariables()
5  if unknown:
6    print 'Unknown variables:', ', '.join(unknown.keys())
7 -  Exit(1)
8  
9  apr = str(env['APR'])
10  apu = str(env['APU'])
11 @@ -341,8 +341,8 @@
12    ### there is probably a better way to run/capture output.
13    ### env.ParseConfig() may be handy for getting this stuff into the build
14    if CALLOUT_OKAY:
15 -    apr_libs = os.popen(env.subst('$APR --link-libtool --libs')).read().strip()
16 -    apu_libs = os.popen(env.subst('$APU --link-libtool --libs')).read().strip()
17 +    apr_libs = os.popen(env.subst('$APR --link-ld --libs')).read().strip()
18 +    apu_libs = os.popen(env.subst('$APU --link-ld --libs')).read().strip()
19    else:
20      apr_libs = ''
21      apu_libs = ''
22 @@ -374,6 +374,7 @@
23                           SUBST_DICT = {
24                             '@MAJOR@': str(MAJOR),
25                             '@PREFIX@': '$PREFIX',
26 +                           '@LIBDIR@': '$LIBDIR',
27                             '@INCLUDE_SUBDIR@': 'serf-%d' % (MAJOR,),
28                             '@VERSION@': '%d.%d.%d' % (MAJOR, MINOR, PATCH),
29                             '@LIBS@': '%s %s %s -lz' % (apu_libs, apr_libs,
30 --- serf-1.3.1/build/serf.pc.in.orig    2011-08-06 09:52:19.000000000 +0200
31 +++ serf-1.3.1/build/serf.pc.in 2013-08-25 10:53:44.470871980 +0200
32 @@ -1,7 +1,7 @@
33  SERF_MAJOR_VERSION=@MAJOR@
34  prefix=@PREFIX@
35  exec_prefix=${prefix}
36 -libdir=${exec_prefix}/lib
37 +libdir=@LIBDIR@
38  includedir=${prefix}/include/@INCLUDE_SUBDIR@
39  
40  Name: serf
This page took 0.068831 seconds and 3 git commands to generate.