Ravenports generated: 04 Feb 2024 05:27
[ravenports.git] / bucket_A3 / scons
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               scons
4 VERSION=                4.5.2
5 KEYWORDS=               devel python
6 VARIANTS=               standard
7 SDESC[standard]=        Alternative build tool competing with make
8 HOMEPAGE=               https://www.scons.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            PYPIWHL/e6/a4/c7a1fb8e60067fe4eb5f4bfd13ce9f51bec963dd9a5c50321d8a20b7a3f2
13 DISTFILE[1]=            SCons-4.5.2.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 RUN_DEPENDS=            m4:primary:standard
21
22 USES=                   python:sutools
23
24 DISTNAME=               SCons-4.5.2
25
26 LICENSE=                MIT:single
27 LICENSE_FILE=           MIT:{{WRKSRC}}/LICENSE
28 LICENSE_SCHEME=         solo
29
30 FPC_EQUIVALENT=         devel/scons
31
32 post-patch:
33         ${FIND} ${WRKSRC} -name \*.orig -delete
34
35 post-install:
36         ${MV} ${STAGEDIR}${PREFIX}/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
37
38 [FILE:351:descriptions/desc.single]
39 SCons is an Open Source software construction tool???that is, a
40 next-generation build tool. Think of SCons as an improved, cross-platform
41 substitute for the classic Make utility with integrated functionality
42 similar to autoconf/automake and compiler caches such as ccache. In short,
43 SCons is an easier, more reliable and faster way to build software.
44
45
46 [FILE:97:distinfo]
47 813360b2bce476bc9cc12a0f3a22d46ce520796b352557202cb07d3e402f5458      3194717 SCons-4.5.2.tar.gz
48
49
50 [FILE:867:patches/patch-SCons_Tool_____init____.py]
51 --- SCons/Tool/__init__.py.orig 2023-01-24 04:14:53 UTC
52 +++ SCons/Tool/__init__.py
53 @@ -715,13 +715,12 @@ def tool_list(platform, env):
54          ars = ['sgiar']
55      elif str(platform) == 'sunos':
56          "prefer Forte tools on SunOS"
57 -        linkers = ['sunlink', 'gnulink']
58 -        c_compilers = ['suncc', 'gcc', 'cc']
59 -        cxx_compilers = ['suncxx', 'g++', 'cxx']
60 +        linkers = ['gnulink']
61 +        c_compilers = ['gcc', 'cc']
62 +        cxx_compilers = ['g++', 'cxx']
63          assemblers = ['as', 'gas']
64 -        fortran_compilers = ['sunf95', 'sunf90', 'sunf77', 'f95', 'f90', 'f77',
65 -                             'gfortran', 'g77', 'fortran']
66 -        ars = ['sunar']
67 +        fortran_compilers = ['gfortran', 'g77']
68 +        ars = ['ar']
69      elif str(platform) == 'hpux':
70          "prefer aCC tools on HP-UX"
71          linkers = ['hplink', 'gnulink']
72
73
74 [FILE:407:patches/patch-SCons_Tool_gnulink.py]
75 --- SCons/Tool/gnulink.py.orig  2023-01-24 04:14:53 UTC
76 +++ SCons/Tool/gnulink.py
77 @@ -48,7 +48,7 @@ def generate(env):
78  
79      # __RPATH is set to $_RPATH in the platform specification if that
80      # platform supports it.
81 -    env['RPATHPREFIX'] = '-Wl,-rpath='
82 +    env['RPATHPREFIX'] = '-Wl,-rpath,'
83      env['RPATHSUFFIX'] = ''
84      env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
85  
86
87
88 [FILE:437:patches/patch-SCons_Tool_m4.py]
89 --- SCons/Tool/m4.py.orig       2023-01-24 04:14:53 UTC
90 +++ SCons/Tool/m4.py
91 @@ -49,7 +49,7 @@ def generate(env):
92      # file and run from there.
93      # The src_suffix setup is like so: file.c.m4 -> file.c,
94      # file.cpp.m4 -> file.cpp etc.
95 -    env['M4']      = 'm4'
96 +    env['M4']      = 'gm4'
97      env['M4FLAGS'] = SCons.Util.CLVar('-E')
98      env['M4COM']   = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS < ${SOURCE.file} > ${TARGET.abspath}'
99  
100